CVE-2026-140252
node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)
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.
INFO
Published Date :
Dec. 1, 2026, 6:31 p.m.
Last Modified :
Dec. 1, 2026, 6:31 p.m.
Remotely Exploit :
No
Source :
GitHub_M
Solution
- Update the node-tar library to version 8.0.0.
- Ensure all synchronous stream extractions complete correctly.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-140252 vulnerability anywhere in the article.