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.
Project Subscriptions
No data.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-25mm-r35j-6hgm | node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance) |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 01 Dec 2026 18:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance) | |
| Weaknesses | CWE-667 CWE-696 CWE-911 |
|
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-12-01T22:16:59.154Z
Reserved: 2026-11-30T22:04:22.619Z
Link: CVE-2026-140252
No data.
Status : Deferred
Published: 2026-12-01T19:17:15.080
Modified: 2026-12-01T23:17:40.650
Link: CVE-2026-140252
No data.
OpenCVE Enrichment
No data.
Github GHSA