Inefficient Algorithmic Complexity in node-tar - #VU170758
Published: November 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by freezing the Node.js event loop and exhausting heap memory, terminating the process.
The vulnerability exists due to quadratic time and memory use in the asynchronous path reservation logic when getDirs processes hard-link or symbolic-link targets without enforcing a depth limit. A remote attacker can supply a crafted tar archive to a service that extracts it asynchronously on POSIX to exhaust process memory.