CVE-2026-140119
JSON

7.1high

node-tar async extract: deep symlink linkpath reaches quadratic getDirs, causing uncatchable heap-exhaustion 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 non-Windows hosts, asynchronous Unpack extraction of an attacker-controlled archive with a deeply nested linkpath reaches the quadratic PathReservations.getDirs() path. This can exhaust the Node.js heap and terminate the process. Synchronous extraction and the Windows reservation path are not affected by this vector. This issue is fixed in version 8.0.0.

Affected

Product or packageVersionsReported by
isaacs node-tar< 8.0.0CVE List

Classification

CWE-400CWE-407

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140119 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-140119 changed 2026-12-01Public domain