Vulnerability · Published Oct 30, 2025 · Assigned by GitHub_M

CVE-2025-64118node-tar vulnerable to race condition leading to uninitialized memory exposure

Medium 6.1

In plain English

A medium-severity race condition in node-tar from isaacs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.1Medium
Exploit odds (30 days)0.1%top 97.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSnode-tarno fix listedUBUNTU-CVE-2025-64118
Ubuntu:24.04:LTSnode-tarno fix listedUBUNTU-CVE-2025-64118
Ubuntu:25.10node-tarno fix listedUBUNTU-CVE-2025-64118
Ubuntu:26.04:LTSnode-tarno fix listedUBUNTU-CVE-2025-64118
Ubuntu:26.10node-tarno fix listedUBUNTU-CVE-2025-64118
npmtar7.5.2GHSA-29xp-372q-xqph

Affected products (as reported)

VendorProductVersions
isaacs node-tar = 7.5.1

Weakness: CWE-362, CWE-367 · Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H

References