npm package

tar 7.5.8 vulnerabilities, and the version that fixes all of them

tar 7.5.8 has 8 known vulnerabilities (5 rated high or critical); 7.5.21 fixes all of them.

npm (opens in a new tab) describes it as “tar for node”

Known vulnerabilities
8
5 rated high or critical
Released
Feb 16, 2026
Latest is 7.5.22
Downloads last week
39.5K
Under 1% of tar downloads
Licence
BlueOak-1.0.0
Pulls in
5 packages
Resolved by deps.dev

What to upgrade to

7.5.21 is the closest release with no known vulnerabilities.

  • 7.5.21Upgrade to this

    Fixes all 8 known vulnerabilities. Released Jul 21, 2026.

    No known vulnerabilities
  • 7.5.22

    Newest 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

Every advisory for tar 7.5.8

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly tar 7.5.8, 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.