Race Condition Affecting node-gyp package, versions <12.0.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.13% (3rd 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-CHAINGUARDLATEST-NODEGYP-13876653
  • published11 Nov 2025
  • disclosed30 Oct 2025

Introduced: 30 Oct 2025

CVE-2025-64118  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Chainguard node-gyp to version 12.0.0-r0 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 Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

node-tar is a Tar for Node.js. In 7.5.1, using .t (aka .list) with { sync: true } to read tar entry contents returns uninitialized memory contents if tar file was changed on disk to a smaller size while being read. This vulnerability is fixed in 7.5.2.

CVSS Base Scores

version 3.1