CVE-2026-73566
published high CVSS 3.1 · 7.5node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| isaacs | — | node-tar< 7.5.21 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3277 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3297 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | nodejs22aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3277 |
| Amazon Linux | AL2023 | nodejs22noarch | Listed in advisory | Not stated | ALAS2023-2026-3277 |
| Amazon Linux | AL2023 | nodejs22src | Listed in advisory | Not stated | ALAS2023-2026-3277 |
| Amazon Linux | AL2023 | nodejs22x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3277 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | nodejs24aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3297 |
| Amazon Linux | AL2023 | nodejs24noarch | Listed in advisory | Not stated | ALAS2023-2026-3297 |
| Amazon Linux | AL2023 | nodejs24src | Listed in advisory | Not stated | ALAS2023-2026-3297 |
| Amazon Linux | AL2023 | nodejs24x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3297 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| isaacs | node-tar | < 7.5.21 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
2GitHub_M · cna
node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2a6ad5e43f942a13f69d8150dd90c6d9376fe004560e5ffc7b062cb35e2540be
- Ingested
- 23 Sep 2026, 09:30:42 UTC
- Source record
- Official CVE record