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 base score
Not scored yet
Severity
UNKNOWN
Weakness
CWE-400, CWE-407
Last modified
December 2, 2026

References

View full NVD advisory →

Published the same day

← Back to CVE watch