tar Known Vulnerabilities & Fixes
tar has 4 known security vulnerabilities in crates.io (Rust). Upgrade to version 0.4.45 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 0.4.45
Upgrading to 0.4.45 or later resolves all 4 known vulnerabilities in tar. Update Cargo.toml: tar = "0.4.45"
Is tar in your project?
Check if you're affected and upgrade to 0.4.45 to stay secure.
Security Summary
- 4 affected version ranges have been identified across these 4 advisories.
- 100% of known issues have a published fixed version.
- Remediation: cargo update -p tar
Vulnerabilities
4 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Jun 29, 2018, most recently Mar 20, 2026 (2821 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2018-20990 Links in archives can overwrite any existing file | HIGH | All versions | 0.4.16 |
| CVE-2021-38511 Links in archive can create arbitrary directories | HIGH | All versions | 0.4.36 |
| CVE-2026-33055 tar-rs incorrectly ignores PAX size headers if header size is nonzero | MEDIUM | All versions | 0.4.45 |
| CVE-2026-33056 tar-rs `unpack_in` can chmod arbitrary directories by following symlinks | MEDIUM | All versions | 0.4.45 |
About This Data
Vulnerability data for tar is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related crates.io (Rust) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of tar.