CVE-2026-73566: CWE-400: Uncontrolled Resource Consumption in isaacs node-tar
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.
AI Analysis
Technical Summary
The vulnerability in node-tar arises from the filesFilter function in src/list.ts, which uses a recursive helper to walk upward through archive entry paths without limiting the number of path segments. When tar.t(...) or tar.x(...) is called with a non-empty member-selection list, a specially crafted GNU L or PAX long-path header containing thousands of slash-separated segments can trigger this recursive path walk. This leads to an uncatchable RangeError stack overflow in the filter function before the maxDepth check in Unpack[CHECKPATH] is applied. The result is termination of asynchronous and streaming Node.js consumers. The flaw is addressed in node-tar version 7.5.21.
Potential Impact
Exploitation of this vulnerability results in a denial of service condition by causing a stack overflow that terminates Node.js processes consuming tar archives asynchronously or via streams. There is no impact on confidentiality or integrity. The CVSS v3.1 score of 7.5 reflects a high severity denial of service via network vector with low attack complexity and no privileges or user interaction required.
Mitigation Recommendations
This vulnerability is fixed in node-tar version 7.5.21. Users should upgrade to version 7.5.21 or later to remediate the issue. No other mitigation or workaround is documented. Patch status is not explicitly stated but the fix is included in version 7.5.21, so upgrading to this version or newer is the recommended remediation.
CVE-2026-73566: CWE-400: Uncontrolled Resource Consumption in isaacs node-tar
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.
CVSS v3.1
Score 7.5high
Affected software
isaacs
node-tar
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in node-tar arises from the filesFilter function in src/list.ts, which uses a recursive helper to walk upward through archive entry paths without limiting the number of path segments. When tar.t(...) or tar.x(...) is called with a non-empty member-selection list, a specially crafted GNU L or PAX long-path header containing thousands of slash-separated segments can trigger this recursive path walk. This leads to an uncatchable RangeError stack overflow in the filter function before the maxDepth check in Unpack[CHECKPATH] is applied. The result is termination of asynchronous and streaming Node.js consumers. The flaw is addressed in node-tar version 7.5.21.
Potential Impact
Exploitation of this vulnerability results in a denial of service condition by causing a stack overflow that terminates Node.js processes consuming tar archives asynchronously or via streams. There is no impact on confidentiality or integrity. The CVSS v3.1 score of 7.5 reflects a high severity denial of service via network vector with low attack complexity and no privileges or user interaction required.
Mitigation Recommendations
This vulnerability is fixed in node-tar version 7.5.21. Users should upgrade to version 7.5.21 or later to remediate the issue. No other mitigation or workaround is documented. Patch status is not explicitly stated but the fix is included in version 7.5.21, so upgrading to this version or newer is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-12T20:53:46.381Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e058ebf8831d5399500f7
Added to database: 08/13/2026, 17:57:34 UTC
Last enriched: 08/13/2026, 18:11:26 UTC
Last updated: 09/27/2026, 13:47:47 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.