CVE-2026-140252
Published:December 01, 2026
Updated:December 02, 2026
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 asynchronous API and file-based synchronous API are not affected. This issue is fixed in version 8.0.0.
Affected Packages
https://github.com/isaacs/node-tar.git (GITHUB):
Affected version(s) >=v3.0.0 <v8.0.0 || >=v4.0.0 <v8.0.0 || >=v5.0.0 <v8.0.0 || >=v6.0.0 <v8.0.0 || >=v7.0.0 <v8.0.0Fix Suggestion:
Update to version v8.0.0tar (NPM):
Affected version(s) >=7.5.22 <8.0.0Fix Suggestion:
Update to version 8.0.0tar (NPM):
Affected version(s) >=3.0.0 <8.0.0 || >=6.0.0 <8.0.0 || >=7.0.0 <8.0.0 || >=4.0.0 <8.0.0 || >=5.0.0 <8.0.0Fix Suggestion:
Update to version 8.0.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH