Resource exhaustion in node-tar - #VU170761

 

Resource exhaustion in node-tar - #VU170761

Published: November 28, 2026


Vulnerability identifier: #VU170761
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by exhausting the Node.js heap and terminating the process.

The vulnerability exists due to uncontrolled memory allocation in node-tar's PathReservations.getDirs() when it builds parent-directory prefixes for a symbolic link target whose depth is not checked. A remote attacker can submit a crafted archive to a service that extracts uploads to trigger quadratic memory growth and abort the process.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.0

External References

Related Security Bulletins