{"id":"CVE-2025-64118","state":"PUBLISHED","title":"node-tar vulnerable to race condition leading to uninitialized memory exposure","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.","publishedAt":"2025-10-30T17:50:20.421Z","updatedAt":"2025-10-30T18:42:19.663Z","severity":{"score":6.1,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["isaacs node-tar"],"affected":[{"vendor":"isaacs","product":"node-tar","versions":[{"version":"= 7.5.1","status":"affected"}]}],"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"],"weaknesses":["CWE-362","CWE-367"],"ingestedAt":"2026-10-29T20:09:48.677Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/64xxx/CVE-2025-64118.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-64118","state":"PUBLISHED","datePublished":"2025-10-30T17:50:20.421Z","dateUpdated":"2025-10-30T18:42:19.663Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-10-27T15:26:14.128Z"},"containers":{"cna":{"title":"node-tar vulnerable to race condition leading to uninitialized memory exposure","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"isaacs","product":"node-tar","versions":[{"version":"= 7.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph","name":"https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/node-tar/issues/445","name":"https://github.com/isaacs/node-tar/issues/445","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/node-tar/pull/446","name":"https://github.com/isaacs/node-tar/pull/446","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d","name":"https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-10-30T17:50:20.421Z"},"source":{"advisory":"GHSA-29xp-372q-xqph","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-10-30T18:41:54.563697Z","id":"CVE-2025-64118","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-30T18:42:19.663Z"}}]}}}