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

- Severity: Medium 6.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-10-30T17:13:17.000Z
- Modified: 2026-10-07T22:10:00.217Z
- Also known as: GHSA-29xp-372q-xqph
- Weaknesses: CWE-362, CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- isaacs node-tar: = 7.5.1
- tar (npm): from 7.5.1 before 7.5.2

## Every score

- GitHub_M: CVSS:4.0 6.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph> (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/commit/5330eb04bc43014f216e5c271b40d5c00d45224d> (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)

## Sources

- CVE List: [CVE-2025-64118](https://www.cve.org/CVERecord?id=CVE-2025-64118), CVE Terms of Use, modified 2025-10-30
- GitHub Advisory Database: [GHSA-29xp-372q-xqph](https://github.com/advisories/GHSA-29xp-372q-xqph), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-64118](https://nvd.nist.gov/vuln/detail/CVE-2025-64118), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-64118 · Whole record: https://cve.day/CVE-2025-64118.json · Rebuilt by cve.day 2026-11-25T22:59:07.059Z
