# CVE-2025-64118: node-tar vulnerable to race condition leading to uninitialized memory exposure

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-30 · Modified: 2025-10-30
- Aliases: UBUNTU-CVE-2025-64118, CGA-2fxv-j2qr-qq94, CGA-3qmr-xfp9-cfj6, CGA-6qp8-pm3j-99hw, CGA-9fhh-r399-rwrp, CGA-fmhh-fr46-2rm9, CGA-gjvc-5m82-f79p, CGA-m7qp-j26m-px59, CGA-r8pf-2vmm-9fmp, GHSA-29xp-372q-xqph, CGA-4h6f-xqww-8997, CGA-pfqm-gw64-634j, CGA-r5f6-x925-6vpv, CGA-vx4c-682q-w5xv
- Record: https://cvemate.com/vulnerability/CVE-2025-64118 · JSON: https://cvemate.com/vulnerability/CVE-2025-64118/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v4.0, CVE.org) 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
- EPSS: 0.139%, percentile 3.423%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard actions-runner-compat (Chainguard): All versions (No fix recorded)
- chainguard node-gyp (Chainguard): \< 12.0.0-r0
- chainguard npm (Chainguard): All versions (No fix recorded)
- chainguard npm-doc (Chainguard): All versions (No fix recorded)
- chainguard renovate (Chainguard): \< 41.169.3-r0
- wolfi node-gyp (Wolfi): \< 12.0.0-r0
- wolfi npm (Wolfi): All versions (No fix recorded)
- wolfi npm-doc (Wolfi): All versions (No fix recorded)
- wolfi renovate (Wolfi): \< 41.169.3-r0
- ubuntu node-tar (Ubuntu): All versions (No fix recorded)
- isaacs node-tar: = 7.5.1
- Npm tar (Npm): ≥ 7.5.1, \< 7.5.2

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph>
- <https://github.com/isaacs/node-tar/issues/445>
- <https://github.com/isaacs/node-tar/pull/446>
- <https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d>
- <https://ubuntu.com/security/CVE-2025-64118>
- <https://www.cve.org/CVERecord?id=CVE-2025-64118>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64118.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64118>
- <https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9>
- <https://github.com/isaacs/node-tar>

---

Data as of 2026-12-05T10:25:14.060Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
