What’s Vulnerable › Vulnerabilities
CVE-2025-64118: node-tar vulnerable to race condition leading to uninitialized memory exposure
- Severity: medium (CVSS 6.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-30 · updated 2026-10-07
- Weakness: CWE-362
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 products
- isaacs node-tar: = 7.5.1
References
- https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d
- https://github.com/isaacs/node-tar/issues/445
- https://github.com/isaacs/node-tar/pull/446
- https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph
Get alerted when CVE-2025-64118 or the next vulnerability affects your stack