PT-2026-71714 · Npm · Node-Tar
CVE-2026-73566
·
Published
2026-07-24
·
Updated
2026-08-18
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
node-tar versions prior to 7.5.21
Description
The
filesFilter in src/list.ts uses a recursive mapHas helper to traverse archive entry paths upward using path.dirname() without a segment limit when tar.t(...) or tar.x(...) is called with a non-empty member-selection list. A specially crafted GNU L or PAX x long-path header containing thousands of slash-separated segments can trigger this process in Parser[CONSUMEHEADER] within src/parse.ts before Unpack[CHECKPATH] applies the maxDepth limit. This results in an uncatchable RangeError stack overflow, which terminates asynchronous and streaming Node.js consumers.Recommendations
Update to version 7.5.21.
Exploit
Fix
Resource Exhaustion
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Node-Tar