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

EcosystemPackageFixed inAdvisory
Debian:12node-tarno fix listedDEBIAN-CVE-2026-59875
Debian:13node-tarno fix listedDEBIAN-CVE-2026-59875
Debian:14node-tar7.5.19+~4.0.1-1DEBIAN-CVE-2026-59875
Ubuntu:22.04:LTSnode-tarno fix listedUBUNTU-CVE-2026-59875
Ubuntu:24.04:LTSnode-tarno fix listedUBUNTU-CVE-2026-59875
Ubuntu:25.10node-tarno fix listedUBUNTU-CVE-2026-59875
Ubuntu:26.04:LTSnode-tarno fix listedUBUNTU-CVE-2026-59875
Ubuntu:26.10node-tarno fix listedUBUNTU-CVE-2026-59875
npmtar7.5.17GHSA-gvwx-54wh-qm9j

Affected products (as reported)

VendorProductVersions
isaacs node-tar < 7.5.17

Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References