npm package
tar 7.5.7 vulnerabilities, and the version that fixes all of them
tar 7.5.7 has 9 known vulnerabilities (6 rated high or critical); 7.5.21 fixes all of them. The maintainers deprecated this release.
npm (opens in a new tab) describes it as “tar for node”
- Known vulnerabilities
- 9
- 6 rated high or critical
- Released
- Jan 27, 2026
- Latest is 7.5.22
- Downloads last week
- 2.5M
- 3% of tar downloads
- Licence
- BlueOak-1.0.0
- Pulls in
- 5 packages
- Resolved by deps.dev
- Status
- Deprecated release
What to upgrade to
7.5.21 is the closest release with no known vulnerabilities.
7.5.21Upgrade to this
Fixes all 9 known vulnerabilities. Released Jul 21, 2026.
No known vulnerabilitiesNewest 7.x release and the latest release. Released Jul 24, 2026.
No known vulnerabilities
7.5.21 came out on Jul 21, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
9 known vulnerabilities in tar 7.5.7
EPSS: top 51%6 rated high or critical. Most serious: CVE-2026-59873, node-tar: Decompression/parse DoS via unlimited input. Upgrading to 7.5.21 fixes all of them.
- WarningOutdated
tar 7.5.7 is a deprecated release
The maintainers deprecated 7.5.7: "Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (…" Latest release is 7.5.22.
Every advisory for tar 7.5.7
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
WarningCVE-2026-59871 on OSV.dev (opens in a new tab)GHSA-w8wr-v893-vjvpEPSS: top 51%
node-tar: Process crash via PAX numeric path type confusion
Fixed in 7.5.18. Published Jul 20, 2026.
CriticalCVE-2026-59873 on OSV.dev (opens in a new tab)GHSA-23hp-3jrh-7fpwEPSS: top 54%
node-tar: Decompression/parse DoS via unlimited input
Fixed in 7.5.19. Published Jul 20, 2026.
CriticalCVE-2026-73566 on OSV.dev (opens in a new tab)GHSA-r292-9mhp-454mEPSS: top 57%
node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
Fixed in 7.5.21. Published Jul 24, 2026.
WarningCVE-2026-59875 on OSV.dev (opens in a new tab)GHSA-gvwx-54wh-qm9jEPSS: top 59%
node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records
Fixed in 7.5.17. Published Jul 20, 2026.
CriticalCVE-2026-59874 on OSV.dev (opens in a new tab)GHSA-8x88-c5mf-7j5wEPSS: top 64%
node-tar: Negative tar entry size causes infinite loop in archive replace
Fixed in 7.5.18. Published Jul 20, 2026.
CriticalCVE-2026-29786 on OSV.dev (opens in a new tab)GHSA-qffp-2rhf-9h96EPSS: top 68%
tar has Hardlink Path Traversal via Drive-Relative Linkpath
Fixed in 7.5.10. Published Mar 5, 2026.
CriticalCVE-2026-26960 on OSV.dev (opens in a new tab)GHSA-83g3-92jg-28cxEPSS: top 90%
Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction
Fixed in 7.5.8. Published Feb 18, 2026.
CriticalCVE-2026-31802 on OSV.dev (opens in a new tab)GHSA-9ppj-qmqm-q256EPSS: top 92%
node-tar Symlink Path Traversal via Drive-Relative Linkpath
Fixed in 7.5.11. Published Mar 10, 2026.
WarningCVE-2026-53655 on OSV.dev (opens in a new tab)GHSA-vmf3-w455-68vhEPSS: top 96%
node-tar applies PAX size override to intermediary GNU long-name/long-link headers, causing tar parser interpretation differential (file smuggling)
Fixed in 7.5.16. Published Jun 15, 2026.
Who is still on a vulnerable tar
57% of last week’s 90.2M tar downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is tar the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly tar 7.5.7, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.