What’s Vulnerable › Vulnerabilities

CVE-2026-59875: node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records

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 products

How to fix

Upgrade to a fixed version: Npm Tar 7.5.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59875 or the next vulnerability affects your stack