{"id":"CVE-2025-5916","summary":"Libarchive: integer overflow while reading warc files at archive_read_support_format_warc.c","details":"A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. This bug affects libarchive versions prior to 3.8.0.","modified":"2026-09-03T03:30:20.633656009Z","published":"2025-06-09T19:49:07.620Z","related":["SUSE-SU-2025:02522-1","SUSE-SU-2025:02522-2","SUSE-SU-2025:02566-1","SUSE-SU-2025:02718-1","SUSE-SU-2025:02718-2","SUSE-SU-2025:20560-1","SUSE-SU-2025:20594-1","openSUSE-SU-2025:15388-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5916.json","cna_assigner":"redhat","cwe_ids":["CWE-190"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/libarchive/libarchive/"},{"type":"WEB","url":"https://github.com/libarchive/libarchive/releases/tag/v3.8.0"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-5916"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5916.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5916"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370872"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/pull/2568"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libarchive/libarchive","events":[{"introduced":"0"},{"fixed":"70ff28fcf04ec129a1d064f96e49aa57fcc90e37"}],"database_specific":{"cpe":"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.8.0"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["v3.7.5","v3.7.4","v3.7.3","v3.7.2","v3.7.1","v3.7.0","v3.6.2","v3.6.1","v3.6.0","v3.5.2","v3.5.1","v3.5.0","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.2","v3.2.1","v3.2.0","v3.1.900a","v3.0.1b","v3.0.0a"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5916.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L"}]}