CVE-2026-73566
HIGH 7.5CVSS 3.1node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
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.
- Published
- 13 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-400CWE-674
- Also known as
- GHSA-r292-9mhp-454m
- Sources
- NVDJSONOSV GHSA-r292-9mhp-454mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | tar | < 7.5.21 | 7.5.21 |
References
- https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a · WEB
- https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m · 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
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 13 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)