CVE-2026-140240
HIGH 7.1CVSS 4.0node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
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.
- Published
- 1 Dec 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-401CWE-407CWE-770
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS: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 |
| CVE List | GitHub_M | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | isaacs | node-tar | = < 8.0.2 |
References
- https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2 · x_refsource_MISC
- https://github.com/isaacs/node-tar/commit/de87900752566867b422de0ebfe6592b30fa9786 · x_refsource_MISC
- https://github.com/isaacs/node-tar/releases/tag/v8.0.2 · x_refsource_MISC
- https://github.com/isaacs/node-tar/security/advisories/GHSA-7c32-79xj-j3jp · x_refsource_CONFIRM
History
- 1 Dec 2026 19:19 UTC · NVD: updated (other details)
- 1 Dec 2026 19:06 UTC · CVE List: updated (other details)
- 1 Dec 2026 18:19 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 17:35 UTC · CVE List: first stored (published 1 Dec 2026)