# CVE-2026-140118: node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-02
- Aliases: DEBIAN-CVE-2026-140118, UBUNTU-CVE-2026-140118
- Record: https://cvemate.com/vulnerability/CVE-2026-140118 · JSON: https://cvemate.com/vulnerability/CVE-2026-140118/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) 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
- EPSS: 0.517%, percentile 45.497%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian node-tar (Debian): All versions (No fix recorded)
- ubuntu node-tar (Ubuntu): All versions (No fix recorded)
- isaacs node-tar: \< 8.0.0

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-343g-5v7x-x325>
- <https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2>
- <https://github.com/isaacs/node-tar/releases/tag/v8.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-140118>
- <https://ubuntu.com/security/CVE-2026-140118>
- <https://www.cve.org/CVERecord?id=CVE-2026-140118>

---

Data as of 2026-12-05T10:11:04.604Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
