CVE-2026-73566node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow…
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-tar | Fix pending | UBUNTU-CVE-2026-73566 | |
| Ubuntu 26.04 | node-tar | Under investigation | UBUNTU-CVE-2026-73566 | |
| Ubuntu 24.04 | node-tar | Under investigation | UBUNTU-CVE-2026-73566 | |
| Ubuntu 22.04 | node-tar | Under investigation | UBUNTU-CVE-2026-73566 | |
| Ubuntu 20.04 | node-tar | Fix pending | UBUNTU-CVE-2026-73566 | |
| Ubuntu 18.04 | node-tar | Fix pending | UBUNTU-CVE-2026-73566 | |
| Ubuntu 16.04 | node-tar | Fix pending | UBUNTU-CVE-2026-73566 | |
| Ubuntu 14.04 | node-tar | Fix pending | UBUNTU-CVE-2026-73566 | |
| Debian 14 | node-tar | Fixed | 7.5.22+~4.0.1-1 | DEBIAN-CVE-2026-73566 |
| Debian 13 | node-tar | Fix pending | DEBIAN-CVE-2026-73566 | |
| Debian 12 | node-tar | Fix pending | DEBIAN-CVE-2026-73566 | |
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | linux-sgx | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-common | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-mpa | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-pccs | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-pccs-admin | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-pckid-tool | Not affected | ||
| Red Hat Enterprise Linux 10 | tar | Not affected | ||
| Red Hat Enterprise Linux 10 | tdx-qgs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | linux-sgx | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | npm | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-common | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-mpa | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-pccs | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-pccs-admin | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-pckid-tool | Not affected | ||
| Red Hat Enterprise Linux 9 | tar | Not affected | ||
| Red Hat Enterprise Linux 9 | tdx-qgs | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | npm | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | tar | Not affected | ||
| Red Hat Enterprise Linux 6 | tar | Not affected | ||
| npm library | tar | Fixed | 7.5.21 | GHSA-r292-9mhp-454m |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- isaacs node-tar: affected: < 7.5.21
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m
- https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.