Resource exhaustion in node-tar - #VU170761
Published: November 28, 2026
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.