CVE-2025-64118: node-tar vulnerable to race condition leading to uninitialized memory exposure
Vulnerability summary
CVE-2025-64118 is a medium (CVSS 6.1) vulnerability in isaacs node-tar. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.4% of scored vulnerabilities.
Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 30-10-2025PublishedVulnerability first disclosed.
- 30-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H
- OSV · WolfiEcosystem advisory · calculated6.1MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H
- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H
- NVDNIST6.1MediumCVSS: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
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.13% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionThe product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Affected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard6 products
- actions-runnerAll versions (No fix recorded)
- actions-runner-compatAll versions (No fix recorded)
- node-gyp< 12.0.0-r0
- npmAll versions (No fix recorded)
- npm-docAll versions (No fix recorded)
Wolfi4 products
- node-gyp< 12.0.0-r0
- npmAll versions (No fix recorded)
- npm-docAll versions (No fix recorded)
- renovate< 41.169.3-r0
Isaacs1 product
- node-tar= 7.5.1
Npm1 product
- tar≥ 7.5.1, < 7.5.2
Ubuntu1 product
- node-tarAll versions (No fix recorded)
5 vendors · 13 products
References
10 links- github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqphX Refsource CONFIRMREPORTAdvisoryWEB
- github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224dX Refsource MISCREPORTFIXWEB
- github.com/isaacs/node-tarPACKAGE