5.3Medium

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

isaacs node-tar Published: (4 months ago)

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.

Weakness (CWE): CWE-248

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
isaacs node-tar < 7.5.17

References and patches