CVE-2026-140252: Vulnerability in Isaacs Node-tar
Patch soon. node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, during synchronous stream extraction, UnpackSync performs entry work without calling PEND, but inherited nonfatal error handling calls UNPEND after an entry fails. The pending counter becomes negative, so the exactly-zero completion condition is never reached and the stream does not emit end, finish, or close. The default...
npm, CWE-667, CWE-696
- Exploitation
- None confirmed
- Severity
- 7.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-25mm-r35j-6hgm
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-667, CWE-696, CWE-911
- Published
- 1 Dec 2026
- Last change
- 1 Dec 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Isaacs Node-tar From 7.5.22, before 8.0.0; Version >= 7.5.22, < 8.0.0. Fixed in 8.0.0
Affected packages
Vulnerable version ranges and fixed releases
- tar npm, Affected from 7.5.22 before 8.0.0. Fixed in 8.0.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2
- github.com/isaacs/node-tar/releases/tag/v8.0.0
Related
- Node-tar vulnerabilities Recent advisories, watch this product