node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
CVE-2026-73566 is fixed in 21 products on 1 platform, first by DEBIAN-CVE-2026-73566, released August 14, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| node-tar · Debian 14 | 7.5.22+~4.0.1-1 | DEBIAN-CVE-2026-73566 | Aug 14, 2026 |
| nodejs22 · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-debuginfo · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-debugsource · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-devel · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-docs · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-full-i18n · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-libs · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-libs-debuginfo · amzn 2023 | 1:22.23.3-1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs22-npm · amzn 2023 | 1:10.9.9-1.22.23.3.1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| nodejs24 · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-debuginfo · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-debugsource · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-devel · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-docs · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-full-i18n · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-libs · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-libs-debuginfo · amzn 2023 | 1:24.22.0-1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| nodejs24-npm · amzn 2023 | 1:11.19.1-1.24.22.0.1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
| v8-12.4-devel · amzn 2023 | 3:12.4.254.21-1.22.23.3.1.amzn2023.0.1 | ALAS2023-2026-3277 | Nov 7, 2026 |
| v8-13.6-devel · amzn 2023 | 3:13.6.233.17-1.24.22.0.1.amzn2023.0.1 | ALAS2023-2026-3297 | Nov 7, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.