CVE-2026-73566: node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection

Published Aug 13, 2026
·
Updated

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.

Affected Software

1 affected component
npm/node-tar<7.5.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade node-tar to a version that resolves this vulnerability.

    Fixed in 7.5.21

Event History

Aug 13, 2026
CVE Published
via MITRE·05:39 PM
Data Sourced
via MITRE·05:39 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·05:51 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-73566?

CVE-2026-73566 has a high severity score of 7.5.

2

What type of attack does CVE-2026-73566 facilitate?

CVE-2026-73566 can lead to an uncatchable stack-overflow denial of service (DoS) via crafted long-path tar files.

3

How do I fix CVE-2026-73566?

To fix CVE-2026-73566, upgrade node-tar to version 7.5.21 or later.

4

What versions of node-tar are affected by CVE-2026-73566?

CVE-2026-73566 affects versions of node-tar prior to 7.5.21.

5

What is the impact of CVE-2026-73566 on applications using node-tar?

Applications using node-tar with the vulnerable versions may experience denial of service due to uncontrolled recursion.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203