CVE-2026-140118

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.
CVSS

No CVSS.

Configurations

No configuration.

History

01 Dec 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-01 17:17

Updated : 2026-12-02 20:20


NVD link : CVE-2026-140118

Mitre link : CVE-2026-140118

CVE.ORG link : CVE-2026-140118


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-407

Inefficient Algorithmic Complexity