Isaacs node-tar
node-tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7.0.0, < 7.5.24
Fixed in 7.5.24
Mitigation
Upgrade node-tar to 7.5.24 or later.
References
- Vendor advisory github.com/isaacs/node-tar/security/advisories…
- Patch github.com/isaacs/node-tar/commit/6b815b7c10be…
- Release notes github.com/isaacs/node-tar/releases/tag/v7.5.2…
Timeline
Days relative to CVE publicationFirst public PoC 1.2 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-140242 (created 2 Dec 2026, found by us: 2 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-140242 | 2 Dec 2026 +1.2 d | 2 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.