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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2025-64118 |
| Ubuntu:24.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2025-64118 |
| Ubuntu:25.10 | node-tar | no fix listed | UBUNTU-CVE-2025-64118 |
| Ubuntu:26.04:LTS | node-tar | no fix listed | UBUNTU-CVE-2025-64118 |
| Ubuntu:26.10 | node-tar | no fix listed | UBUNTU-CVE-2025-64118 |
| npm | tar | 7.5.2 | GHSA-29xp-372q-xqph |
Affected products (as reported)
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
- https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph x_refsource_CONFIRM
- https://github.com/isaacs/node-tar/issues/445 x_refsource_MISC
- https://github.com/isaacs/node-tar/pull/446 x_refsource_MISC
- https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d x_refsource_MISC