CVE-2026-140119

node-tar async extract: deep symlink linkpath reaches quadratic getDirs, causing uncatchable heap-exhaustion DoS

Published Dec 1, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title node-tar async extract: deep symlink linkpath reaches quadratic getDirs, causing uncatchable heap-exhaustion DoS
Weaknesses CWE-400
CWE-407
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 1, 2026, 5:02 PM
Reserved
Nov 30, 2026, 8:55 PM
Status
Deferred
Published
Dec 1, 2026, 5:17 PM
Modified
Dec 1, 2026, 5:17 PM