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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-24T16:26:16.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-r292-9mhp-454m
- Weaknesses: CWE-400, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- isaacs node-tar: < 7.5.21
- tar (npm): before 7.5.21

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m> (exploit, web)
- <https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-73566> (advisory)
- <https://github.com/isaacs/node-tar> (package)
- <https://github.com/isaacs/node-tar/releases/tag/v7.5.21> (web)

## Sources

- CVE List: [CVE-2026-73566](https://www.cve.org/CVERecord?id=CVE-2026-73566), CVE Terms of Use, modified 2026-08-21
- GitHub Advisory Database: [GHSA-r292-9mhp-454m](https://github.com/advisories/GHSA-r292-9mhp-454m), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73566](https://nvd.nist.gov/vuln/detail/CVE-2026-73566), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73566 · Whole record: https://cve.day/CVE-2026-73566.json · Rebuilt by cve.day 2026-11-25T22:59:32.816Z
