CVE catalog

CVE-2026-73566

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.dirna

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.53% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-tarsid7.5.22+~4.0.1-1fixed
Debiannode-tarforky7.5.22+~4.0.1-1fixed
Debiannode-tartrixie6.2.1+~cs7.0.8-1+deb13u1vulnerable
Debiannode-tarbookworm6.1.13+~cs7.0.5-1vulnerable
Debiannode-tarbookworm-security6.1.13+~cs7.0.5-1+deb12u1vulnerable
NpmtarNot reported7.5.21fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-tarsourcesid7.5.22+~4.0.1-1not yet assignedNot reportedNot reported
Debiannode-tarsourceforky7.5.22+~4.0.1-1not yet assignedNot reportedNot reported
Debiannode-tarsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiannode-tarsourcebookworm(unfixed)not yet assignedNot reportedNot reported
NpmtarnpmNot reported7.5.21Not reportedGHSA-R292-9MHP-454MNot reported

Notes

[trixie] node-tar: Minor issue [bookworm] node-tar: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-tar]Affected
    Details (4)
    • 6.1.13+~cs7.0.5-1 · all · bookworm

      Affected

      nvd · node-tar · debian · bookworm; nvd · node-tar · debian · 12

    • 6.1.13+~cs7.0.5-1 · all · bookworm

      Affected

      nvd · node-tar · debian · bookworm; nvd · node-tar · debian · 12

    • 6.1.13+~cs7.0.5-1+deb12u1 · all · bookworm-security

      Affected

      nvd · node-tar · debian · bookworm; nvd · node-tar · debian · 12

    • 6.1.13+~cs7.0.5-1+deb12u1 · all · bookworm-security

      Affected

      nvd · node-tar · debian · bookworm; nvd · node-tar · debian · 12

[Debian 13 (Trixie)]

  • [node-tar]Affected
    Details (2)
    • 6.2.1+~cs7.0.8-1+deb13u1 · all · trixie

      Affected

      nvd · node-tar · debian · 13

    • 6.2.1+~cs7.0.8-1+deb13u1 · all · trixie

      Affected

      nvd · node-tar · debian · 13

Observed:

References