CVE-2025-64118
MEDIUM 6.1CVSS 4.0node-tar has a race condition leading to uninitialized memory exposure
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.
- Published
- 30 Oct 2025
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-362
- Also known as
- GHSA-29xp-372q-xqph
- Sources
- NVDJSONOSV GHSA-29xp-372q-xqphJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | tar | >= 7.5.1, < 7.5.2 | 7.5.2 |
References
- https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d · WEB
- https://github.com/isaacs/node-tar/issues/445 · WEB
- https://github.com/isaacs/node-tar/pull/446 · WEB
- https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64118 · ADVISORY
- https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9 · WEB
- https://github.com/isaacs/node-tar · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Oct 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Oct 2025)