PT-2026-71714
CVE-2026-73566
·
Published
2026-07-24
·
Updated
2026-11-05
Description by
CVSS 3.1
7.5
HighMetricsAV: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.
Found an issue in the description? Have something to add? Feel free to write us 👾