CVE-2026-140252: node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)
Vulnerability summary
CVE-2026-140252 is a high (CVSS 7.1) Improper Locking vulnerability in isaacs node-tar. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 53.3% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · NpmEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-667Improper LockingThe product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
- CWE-696Incorrect Behavior OrderThe product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses.
- CWE-911Improper Update of Reference CountThe product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard60 products
- browsertimeAll versions (No fix recorded) | < 29.5.1-r1
- cdxgen-slimAll versions (No fix recorded)
- cubejsAll versions (No fix recorded)
- cypressAll versions (No fix recorded)
- eco-jessAll versions (No fix recorded) | < 2026.12.04.47258835307001-r0
Wolfi19 products
- lernaAll versions (No fix recorded)
- node-gypAll versions (No fix recorded)
- opensearch-dashboards-3All versions (No fix recorded)
- opensearch-dashboards-3-alerting-dashboards-pluginAll versions (No fix recorded)
- opensearch-dashboards-3-anomaly-detection-dashboards-pluginAll versions (No fix recorded)
Debian1 product
- node-tarAll versions (No fix recorded)
Isaacs1 product
- node-tar≥ 7.5.22, < 8.0.0
Npm1 product
- tar≥ 7.5.22, < 8.0.0
Ubuntu1 product
- node-tarAll versions (No fix recorded)
6 vendors · 83 products
References
9 links- github.com/isaacs/node-tar/security/advisories/GHSA-25mm-r35j-6hgmX Refsource CONFIRMWEBAdvisoryREPORT
- github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2X Refsource MISCWEBFIXREPORT
- github.com/isaacs/node-tarPACKAGE