medium5.3
CVE-2026-59875
node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | tar | <= 7.5.16 | 7.5.17 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-gvwx-54wh-qm9j
- https://github.com/isaacs/node-tar/security/advisories/GHSA-gvwx-54wh-qm9j
- https://nvd.nist.gov/vuln/detail/CVE-2026-59875
- https://github.com/isaacs/node-tar/commit/7a635c29f5edbf083557374d43984273ecfed5b3
- https://github.com/isaacs/node-tar/releases/tag/v7.5.17