CVE-2026-140240: node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
Vulnerability summary
CVE-2026-140240 is a high (CVSS 7.1) vulnerability in isaacs node-tar. EPSS estimates a 0.87% chance of exploitation in the next 30 days, higher than 59.9% 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. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.
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.87%
Chance of exploitation in the next 30 days
Percentile
60%
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-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
- CWE-407Inefficient Algorithmic ComplexityAn algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard76 products
- actions-runnerAll versions (No fix recorded)
- browsertimeAll versions (No fix recorded)
- cdxgen-slimAll versions (No fix recorded)
- code-serverAll versions (No fix recorded)
- cubejsAll versions (No fix recorded)
Wolfi22 products
- code-serverAll versions (No fix recorded)
- lernaAll versions (No fix recorded)
- node-gypAll versions (No fix recorded)
- npm-12All versions (No fix recorded)
- opensearch-dashboards-3All versions (No fix recorded)
Debian1 product
- node-tarAll versions (No fix recorded)
Isaacs1 product
- node-tar< 8.0.2
Npm1 product
- tar< 8.0.2
Ubuntu1 product
- node-tarAll versions (No fix recorded)
6 vendors · 102 products
References
10 links- github.com/isaacs/node-tar/security/advisories/GHSA-7c32-79xj-j3jpX Refsource CONFIRMWEBAdvisoryREPORT
- github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2X Refsource MISCWEBFIXREPORT
- github.com/isaacs/node-tar/commit/de87900752566867b422de0ebfe6592b30fa9786X Refsource MISCWEBFIXREPORT
- github.com/isaacs/node-tarPACKAGE