CVE-2026-73566

NameCVE-2026-73566
Descriptionnode-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-tar (PTS)bullseye6.0.5+ds1+~cs11.3.9-1+deb11u2vulnerable
bullseye (security)6.0.5+ds1+~cs11.3.9-1+deb11u3vulnerable
bookworm6.1.13+~cs7.0.5-1vulnerable
bookworm (security)6.1.13+~cs7.0.5-1+deb12u1vulnerable
trixie6.2.1+~cs7.0.8-1+deb13u1vulnerable
forky, sid7.5.22+~4.0.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-tarsource(unstable)7.5.22+~4.0.1-1

Notes

https://github.com/isaacs/node-tar/security/advisories/GHSA-r292-9mhp-454m
Fixed by:https://github.com/isaacs/node-tar/commit/631ae59121bf8fc8a22bbae35f074cb9b789cd4a (v7.5.21)

Search for package or bug name: Reporting problems