Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-59875node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records
Medium 5.3
In plain English
A medium-severity security flaw in node-tar from isaacs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 70.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-tar | no fix listed | DEBIAN-CVE-2026-59875 |
| Debian:13 | node-tar | no fix listed | DEBIAN-CVE-2026-59875 |
| Debian:14 | node-tar | 7.5.19+~4.0.1-1 | DEBIAN-CVE-2026-59875 |
| Ubuntu:22.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-59875 |
| Ubuntu:24.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-59875 |
| Ubuntu:25.10 | node-tar | no fix listed | UBUNTU-CVE-2026-59875 |
| Ubuntu:26.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2026-59875 |
| Ubuntu:26.10 | node-tar | no fix listed | UBUNTU-CVE-2026-59875 |
| npm | tar | 7.5.17 | GHSA-gvwx-54wh-qm9j |
Affected products (as reported)
Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-gvwx-54wh-qm9j x_refsource_CONFIRM
- https://github.com/isaacs/node-tar/commit/7a635c29f5edbf083557374d43984273ecfed5b3 x_refsource_MISC
- https://github.com/isaacs/node-tar/releases/tag/v7.5.17 x_refsource_MISC