{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/48296?format=json","vulnerability_id":"VCID-2anj-5u75-57ee","summary":"node-tar has a race condition leading to uninitialized memory exposure\nUsing `.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.","aliases":[{"alias":"CVE-2025-64118"},{"alias":"GHSA-29xp-372q-xqph"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/119124?format=json","purl":"pkg:deb/debian/node-tar@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/119114?format=json","purl":"pkg:deb/debian/node-tar@6.0.5%2Bds1%2B~cs11.3.9-1%2Bdeb11u2?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-118h-4ce6-tqb3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.0.5%252Bds1%252B~cs11.3.9-1%252Bdeb11u2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/119112?format=json","purl":"pkg:deb/debian/node-tar@6.1.13%2B~cs7.0.5-1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-118h-4ce6-tqb3"},{"vulnerability":"VCID-3864-ajep-9kas"},{"vulnerability":"VCID-ahrg-tm4v-5fhf"},{"vulnerability":"VCID-qxuc-5pfk-j3gd"},{"vulnerability":"VCID-xs2d-mcdm-8ugs"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.1.13%252B~cs7.0.5-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/119117?format=json","purl":"pkg:deb/debian/node-tar@6.2.1%2B~cs7.0.8-1%2Bdeb13u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252B~cs7.0.8-1%252Bdeb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/119115?format=json","purl":"pkg:deb/debian/node-tar@6.2.1%2Bds1%2B~cs6.1.13-10?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252Bds1%252B~cs6.1.13-10%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/71289?format=json","purl":"pkg:npm/tar@7.5.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-118h-4ce6-tqb3"},{"vulnerability":"VCID-3864-ajep-9kas"},{"vulnerability":"VCID-ahrg-tm4v-5fhf"},{"vulnerability":"VCID-nzra-2nn4-ffc9"},{"vulnerability":"VCID-qxuc-5pfk-j3gd"},{"vulnerability":"VCID-tdm1-bdzt-eygx"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/tar@7.5.2"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/71288?format=json","purl":"pkg:npm/tar@7.5.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-118h-4ce6-tqb3"},{"vulnerability":"VCID-2anj-5u75-57ee"},{"vulnerability":"VCID-3864-ajep-9kas"},{"vulnerability":"VCID-ahrg-tm4v-5fhf"},{"vulnerability":"VCID-nzra-2nn4-ffc9"},{"vulnerability":"VCID-qxuc-5pfk-j3gd"},{"vulnerability":"VCID-tdm1-bdzt-eygx"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/tar@7.5.1"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-64118.json","reference_id":"","reference_type":"","scores":[{"value":"4.7","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-64118.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-64118","reference_id":"","reference_type":"","scores":[{"value":"5e-05","scoring_system":"epss","scoring_elements":"0.00251","published_at":"2026-06-09T12:55:00Z"},{"value":"5e-05","scoring_system":"epss","scoring_elements":"0.00252","published_at":"2026-06-08T12:55:00Z"},{"value":"5e-05","scoring_system":"epss","scoring_elements":"0.00254","published_at":"2026-06-06T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-64118"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"4.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://github.com/isaacs/node-tar","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/isaacs/node-tar"},{"reference_url":"https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"}],"url":"https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d"},{"reference_url":"https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9"},{"reference_url":"https://github.com/isaacs/node-tar/issues/445","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"}],"url":"https://github.com/isaacs/node-tar/issues/445"},{"reference_url":"https://github.com/isaacs/node-tar/pull/446","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"}],"url":"https://github.com/isaacs/node-tar/pull/446"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2407440","reference_id":"2407440","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2407440"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64118","reference_id":"CVE-2025-64118","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64118"},{"reference_url":"https://github.com/advisories/GHSA-29xp-372q-xqph","reference_id":"GHSA-29xp-372q-xqph","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-29xp-372q-xqph"},{"reference_url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph","reference_id":"GHSA-29xp-372q-xqph","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"6.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"}],"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph"}],"weaknesses":[{"cwe_id":362,"name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a code sequence that can run concurrently with other code, and the code sequence 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 that is operating concurrently."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":367,"name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The 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. This can cause the product to perform invalid actions when the resource is in an unexpected state."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-2anj-5u75-57ee"}