CVE-2026-140118
published high CVSS 4.0 · 7.1node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| isaacs | — | node-tar< 8.0.0 | Affected | Not stated | GitHub_M |
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.js heap and terminate the process. The reserve() path is not used for this purpose on Windows. This issue is fixed in version 8.0.0.
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.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
3Provider assertions
1GitHub_M · cna
node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3eeb33aa05ff5bc0b270ff45de8612018de8c6471021902d80d8c1213f39eab3
- Ingested
- 01 Dec 2026, 16:44:40 UTC
- Source record
- Official CVE record