{"id":"CVE-2025-5914","summary":"Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c","details":"A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.","modified":"2026-11-17T07:02:06.603838005Z","published":"2025-06-09T19:53:48.923Z","related":["ALSA-2025:14130","ALSA-2025:14135","ALSA-2025:14137","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"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"0:3.7.7-4.el10_0"},{"fixed":"0:3.1.2-14.el7_9.1"},{"fixed":"0:3.3.3-6.el8_10"},{"fixed":"0:3.3.2-8.el8_2.1"},{"fixed":"0:3.3.3-1.el8_4.1"},{"fixed":"0:3.3.3-1.el8_4.1"},{"fixed":"0:3.3.3-6.el8_6"},{"fixed":"0:3.3.3-6.el8_6"},{"fixed":"0:3.3.3-6.el8_6"},{"fixed":"0:3.3.3-5.el8_8.1"},{"fixed":"0:3.3.3-5.el8_8.1"},{"fixed":"0:3.5.3-6.el9_6"},{"fixed":"0:3.5.3-6.el9_6"},{"fixed":"0:3.5.3-2.el9_0.1"},{"fixed":"0:3.5.3-5.el9_2"},{"fixed":"0:3.5.3-4.el9_4.1"},{"fixed":"414.92.202510211419-0"},{"fixed":"415.92.202601271320-0"},{"fixed":"416.94.202601071926-0"},{"fixed":"417.94.202510112152-0"},{"fixed":"418.94.202510230424-0"},{"fixed":"4.19.9.6.202510140714-0"},{"fixed":"4.20.9.6.202509251656-0"},{"fixed":"1.11-19"},{"fixed":"1.11-8"},{"fixed":"1.12-4"},{"fixed":"1.36.0-11"},{"fixed":"1.36.0-11"},{"fixed":"1.36.0-11"},{"fixed":"1.36.0-10"},{"fixed":"1.36.0-10"},{"fixed":"1.36.0-4"},{"fixed":"1.36.0-9"},{"fixed":"1.36.0-12"},{"fixed":"1.36.0-18"},{"fixed":"1.36.0-11"},{"fixed":"1.36.0-7"},{"fixed":"v1.16.5-1760515757"},{"fixed":"1.8.0"},{"fixed":"1.8.0"},{"fixed":"1.8.0"},{"fixed":"v1.3"},{"fixed":"2.2.1-1758555934"},{"fixed":"1.5.6-1756187445"},{"fixed":"1.10.2-1757422110"},{"fixed":"1.10.2-1757421846"},{"fixed":"1.10.2-1757421804"},{"fixed":"1.10.2-1757422070"},{"fixed":"1.10.2-1757421879"},{"fixed":"1.10.2-1757422401"},{"fixed":"1.10.2-1757421890"}],"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges"}]}],"cna_assigner":"redhat","cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5914.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-585531.html"},{"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/errata/RHSA-2025:14130"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14135"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14137"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14141"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14142"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14525"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14528"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14594"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14644"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14808"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14810"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:14828"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15024"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15397"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15709"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15827"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:15828"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16524"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18217"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18218"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:18219"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:19041"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:19046"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:21885"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:21913"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:0326"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:0934"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:1541"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-5914"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5914.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5914"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370861"},{"type":"FIX","url":"https://github.com/libarchive/libarchive/pull/2598"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libarchive/libarchive","events":[{"introduced":"0"},{"fixed":"70ff28fcf04ec129a1d064f96e49aa57fcc90e37"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"3.8.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"70ff28fcf04ec129a1d064f96e49aa57fcc90e37"}],"source":"REFERENCES_TAG","original_tag":"v3.8.0"},{"cpe":"cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"3.8.0"}],"source":"CPE_RANGE"}]}}],"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-5914.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}