{"id":"CVE-2024-57970","state":"PUBLISHED","title":"libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in archive_read_support_format_tar.c via a TAR archive because it mishandles truncation in the mid","description":"libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in archive_read_support_format_tar.c via a TAR archive because it mishandles truncation in the middle of a GNU long linkname.","publishedAt":"2025-02-16T00:00:00.000Z","updatedAt":"2025-02-18T17:05:13.914Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"mitre"},"assigner":"mitre","products":["libarchive libarchive"],"affected":[{"vendor":"libarchive","product":"libarchive","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.7.7","versionType":"semver"}]}],"references":["https://github.com/libarchive/libarchive/issues/2415","https://github.com/libarchive/libarchive/pull/2422"],"weaknesses":["CWE-126"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/57xxx/CVE-2024-57970.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-57970","state":"PUBLISHED","datePublished":"2025-02-16T00:00:00.000Z","dateUpdated":"2025-02-18T17:05:13.914Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-02-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"libarchive through 3.7.7 has a heap-based buffer over-read in header_gnu_longlink in archive_read_support_format_tar.c via a TAR archive because it mishandles truncation in the middle of a GNU long linkname."}],"affected":[{"vendor":"libarchive","product":"libarchive","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.7.7","versionType":"semver"}]}],"references":[{"url":"https://github.com/libarchive/libarchive/issues/2415"},{"url":"https://github.com/libarchive/libarchive/pull/2422"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-126","description":"CWE-126 Buffer Over-read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-02-16T03:26:41.341Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*","versionEndIncluding":"3.7.7"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-18T14:31:27.267713Z","id":"CVE-2024-57970","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-18T17:05:13.914Z"}}]}}}