Inefficient Algorithmic Complexity in node-tar - #VU170758

 

Inefficient Algorithmic Complexity in node-tar - #VU170758

Published: November 28, 2026


Vulnerability identifier: #VU170758
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-407
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 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.


Affected software

node-tar

Remediation

Install security update from vendor's website.

node-tar - update to 8.0.0

External References

Related Security Bulletins