CVE-2026-140118
7.1high
node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| isaacs node-tar | < 8.0.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140118 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-140118 changed 2026-12-01 | Public domain |