CVE-2026-140252

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.
CVSS

No CVSS.

Configurations

No configuration.

History

01 Dec 2026, 23:17

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-25mm-r35j-6hgm - () https://github.com/isaacs/node-tar/security/advisories/GHSA-25mm-r35j-6hgm -

01 Dec 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-01 19:17

Updated : 2026-12-01 23:17


NVD link : CVE-2026-140252

Mitre link : CVE-2026-140252

CVE.ORG link : CVE-2026-140252


JSON object : View

Products Affected

No product.

CWE
CWE-667

Improper Locking

CWE-696

Incorrect Behavior Order

CWE-911

Improper Update of Reference Count