Resource Exhaustion Affecting node-gyp package, versions <13.0.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (31st 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-WOLFILATEST-NODEGYP-19232165
  • published23 Aug 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

NewCVE-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 Wolfi node-gyp to version 13.0.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-gyp package and not the node-gyp package as distributed by Wolfi. See How to fix? for Wolfi 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