{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5914 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-5914 is a high-severity memory corruption vulnerability in Libarchive Libarchive, published on 9 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-5914 and fix it if it is affected.\n\nWhat it is: CVE-2025-5914 is a high-severity memory corruption vulnerability in Libarchive Libarchive, published on 9 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5914 exists.\n\nAffected product: Libarchive Libarchive. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-5914/ (Markdown: https://insights.sbomify.com/CVE-2025-5914/index.md)","id":"CVE-2025-5914","markdown":"https://insights.sbomify.com/CVE-2025-5914/index.md","name":"CVE-2025-5914","record":{"aliases":["ALSA-2025:14130","ALSA-2025:14135","ALSA-2025:14137","AZL-63783","AZL-63860","BELL-CVE-2025-5914","CLSA-2025-1751143694","CLSA-2025-1751620336","DEBIAN-CVE-2025-5914","ECHO-b835-da71-c05c","GHSA-7376-x4rm-3v8x","JLSEC-2025-245","MINI-cxxq-hxhq-mjxx","RHSA-2025:14130","RHSA-2025:14135","RHSA-2025:14137","RHSA-2025:14141","RHSA-2025:14142","RHSA-2025:14525","RHSA-2025:14528","RHSA-2025:14808","RHSA-2025:14810","RHSA-2025:14828","RHSA-2025:15024","RLSA-2025:14130","RLSA-2025:14135","RLSA-2025:14137","UBUNTU-CVE-2025-5914"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Libarchive library","requires_auth":"none","summary":"An integer overflow in Libarchive's RAR handler leads to a double-free, allowing attackers to execute arbitrary code or cause denial of service.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libarchive","vendor":"libarchive"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c","id":"CVE-2025-5914","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libarchive:libarchive","products":["libarchive:libarchive","redhat:enterprise_linux","redhat:openshift_container_platform"],"type":"memory_corruption","year":"2025"},"n_packages":151,"n_references":32,"next":{"headline":"Libarchive: heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c","id":"CVE-2025-5915"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/almalinux/bsdtar","source":"ALSA-2025:14137"},{"ecosystem":"AlmaLinux:10","fixed":["3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/almalinux/libarchive","source":"ALSA-2025:14137"},{"ecosystem":"AlmaLinux:10","fixed":["3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/almalinux/libarchive-devel","source":"ALSA-2025:14137"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/almalinux/bsdtar","source":"ALSA-2025:14135"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/almalinux/libarchive","source":"ALSA-2025:14135"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/almalinux/libarchive-devel","source":"ALSA-2025:14135"},{"ecosystem":"AlmaLinux:9","fixed":["3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/almalinux/bsdtar","source":"ALSA-2025:14130"},{"ecosystem":"AlmaLinux:9","fixed":["3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/almalinux/libarchive","source":"ALSA-2025:14130"},{"ecosystem":"AlmaLinux:9","fixed":["3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/almalinux/libarchive-devel","source":"ALSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/redhat/bsdtar","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdunzip-debuginfo","purl":"pkg:rpm/redhat/bsdunzip-debuginfo","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/redhat/libarchive","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-4.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/redhat/libarchive-devel","source":"RHSA-2025:14137"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/redhat/bsdtar","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/redhat/libarchive","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:3.3.3-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/redhat/libarchive-devel","source":"RHSA-2025:14135"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/redhat/bsdtar","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/redhat/libarchive-devel","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:14130"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-6.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:14130"}],"prev":{"headline":"PHPGurukul Vehicle Record Management System search-vehicle.php sql injection","id":"CVE-2025-5913"},"products":["Compliance Operator 1","OpenShift File Integrity Operator - FIO 1","RHOSS-1.36-RHEL-8","Red Hat Discovery 2","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.2 Advanced Update Support","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Telecommunications Update Service","Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","Red Hat Enterprise Linux 8.8 Telecommunications Update Service","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat Insights proxy 1.5","Red Hat OpenShift Container Platform 4","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18","Red Hat OpenShift Container Platform 4.19","Red Hat OpenShift Container Platform 4.20","Red Hat OpenShift distributed tracing 3.5.3","Red Hat OpenShift sandboxed containers 1.10","Red Hat Web Terminal 1.11 on RHEL 9","Red Hat Web Terminal 1.12 on RHEL 9","cert-manager operator for Red Hat OpenShift 1.16"],"published":"2025-06-09","related":[{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2024-37407","kev_date_added":null,"published":"2024-06-08"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2016-1541","kev_date_added":null,"published":"2016-05-07"},{"cvss_score":8.6,"headline":"Integer overflow in n/a","id":"CVE-2016-6250","kev_date_added":null,"published":"2016-09-21"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2024-48957","kev_date_added":null,"published":"2024-10-10"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2024-48958","kev_date_added":null,"published":"2024-10-10"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-4300","kev_date_added":null,"published":"2016-09-21"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-12","vendors":["Red Hat"]},"summary":"An integer overflow in Libarchive's RAR handler leads to a double-free, allowing attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-5914/"}