{"id":"CVE-2025-64118","summary":"node-tar vulnerable to race condition leading to uninitialized memory exposure","details":"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.","aliases":["GHSA-29xp-372q-xqph"],"modified":"2026-08-12T03:51:37.474350598Z","published":"2025-10-30T17:50:20.421Z","related":["CGA-jvjm-2q7m-prcf"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-362","CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64118.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64118.json"},{"type":"ADVISORY","url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64118"},{"type":"REPORT","url":"https://github.com/isaacs/node-tar/issues/445"},{"type":"FIX","url":"https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d"},{"type":"FIX","url":"https://github.com/isaacs/node-tar/pull/446"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/isaacs/node-tar","events":[{"introduced":"64728e88cb5805faa78264204d520eb741ce4b6f"},{"fixed":"5330eb04bc43014f216e5c271b40d5c00d45224d"}],"database_specific":{"extracted_events":[{"introduced":"= 7.5.1"},{"last_affected":"= 7.5.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["= 7.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64118.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}