CVE-2026-140240
published high CVSS 4.0 · 7.1node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| isaacs | — | node-tar< 8.0.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| isaacs | node-tar | < 8.0.2 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-401 CWE-401: Missing Release of Memory after Effective Lifetime
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
4Provider assertions
2GitHub_M · cna
node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d3c7ad86e489e2f4bad6419fd0f2c8958a22667a015321fc9c3460e4fe7d80d7
- Ingested
- 01 Dec 2026, 18:54:57 UTC
- Source record
- Official CVE record