Resource Exhaustion Affecting node-tar package, versions <7.5.22+~4.0.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.53% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-NODETAR-18778520
  • published14 Aug 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-73566  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Debian:14 node-tar to version 7.5.22+~4.0.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-tar package and not the node-tar package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1