CVE-2025-64118 node-tar vulnerable to race condition leading to uninitialized memory exposure
MediumCVSS 6.1
EPSS 0.14%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-tar(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-tar(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-tar(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-tar(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| npm tar(npm) | = 7.5.1; >= 7.5.1, < 7.5.2 | 7.5.2 | Fixed |
| isaacs node-tar | = = 7.5.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm tar(npm) | = 7.5.1 | No fix listed |
| isaacs node-tar | = = 7.5.1 | No fix listed |
| ubuntu/node-tar(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-tar(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-tar(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-tar(Ubuntu:26.10) | All versions | No fix listed |
| npm tar(npm) | >= 7.5.1, < 7.5.2 | 7.5.2 |
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph vendor-advisory
- https://github.com/isaacs/node-tar/issues/445
- https://github.com/isaacs/node-tar/pull/446 patch
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d patch
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2025-64118 vendor-advisory
- github.com product