Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.3
CVE-2026-140118: node-tar may exhaust memory when extracting crafted archives
CVE-2026-140118 · published 4 days ago
Summary
The node-tar library used to unpack archive files can run out of memory if it processes a specially crafted archive with many nested links. This can cause the application to stop working. Upgrade node-tar to version 8.0.0 or later to prevent the issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | node-tar | All versions |
| Ubuntu:Pro:14.04:LTS | canonical | node-tar | All versions |
| – | isaacs | node-tar | < 8.0.0 |
Original advisory text
node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS
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.
References
- https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bd... Patch
- https://github.com/isaacs/node-tar/releases/tag/v8.0.0 URL
- https://github.com/isaacs/node-tar/security/advisories/GHSA-343g-5v7x-x325 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-1401... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-140118 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-140118 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-140118 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-140118 Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Severity
8.3
High
Type
CWE-400Uncontrolled Resource Consumption
CWE-407Inefficient Algorithmic Complexity
Timeline
Published1 Dec 2026
Updated6 Dec 2026
First seen1 Dec 2026
Sources
CVE-2026-140118 · NVD
CVE-2026-140118 · MITRE
CVE-2026-140118 · OSV
GHSA-343g-5v7x-x325 · GHSA
DEBIAN-CVE-2026-140118 · OSV
UBUNTU-CVE-2026-140118 · OSV
Track software like this
Free during beta