CVE-2026-140242: Vulnerability in Isaacs Node-tar

Patch soon. node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 7.5.24, tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing. The affected security path includes tar, size, 17 size=Infinity\n. This issue is fixed in version 7.5.24.

npm, CWE-1284

Exploitation
None confirmed
Severity
7.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-ph3c-p786-j4rp
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-1284
Published
1 Dec 2026
Last change
2 Dec 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Isaacs Node-tar From 7.0.0, before 7.5.24; Version >= 7.0.0, < 7.5.24. Fixed in 7.5.24

Affected packages

Vulnerable version ranges and fixed releases

  • tar npm, Affected from 7.0.0 before 7.5.24. Fixed in 7.5.24

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related