{"answers":{"affected":"3 open source packages ship an affected version, including java, java-min and jre. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-25062 in the wild and no public exploit code.","fix":"Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.431.","what":"CVE-2024-25062 is a high-severity use after free vulnerability in Xmlsoft Libxml2, published on 4 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-25062 and fix it if it is affected.\n\nWhat it is: CVE-2024-25062 is a high-severity use after free vulnerability in Xmlsoft Libxml2, published on 4 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-25062 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- java (Bitnami): affected all versions; fixed in 1.8.0, 8.0.431\n- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.431\n- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.431\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-2024-25062/ (Markdown: https://insights.sbomify.com/CVE-2024-25062/index.md)","id":"CVE-2024-25062","markdown":"https://insights.sbomify.com/CVE-2024-25062/index.md","name":"CVE-2024-25062","record":{"aliases":["ALPINE-CVE-2024-25062","ALSA-2024:2679","ALSA-2024:3626","AZL-34290","AZL-34961","BELL-CVE-2024-25062","BIT-java-2024-25062","BIT-java-min-2024-25062","BIT-jre-2024-25062","CLSA-2024-1708416911","CLSA-2024-1708426314","CLSA-2024-1708426517","CLSA-2024-1708427636","CLSA-2024-1708427829","CLSA-2024-1708639015","CLSA-2024-1708639232","CLSA-2024-1718029281","DEBIAN-CVE-2024-25062","ECHO-3385-dec3-86a0","GHSA-x77r-6xxm-wjmx","JLSEC-2025-83","MGASA-2024-0172","MINI-56j7-qwf3-8q64","OESA-2024-1183","RHSA-2024:2679","RHSA-2024:3299","RHSA-2024:3303","RHSA-2024:3625","RHSA-2024:3626","RLSA-2024:2679","RLSA-2024:3626","SUSE-SU-2024:0461-1","SUSE-SU-2024:0461-2","SUSE-SU-2024:0555-1","SUSE-SU-2024:0556-1","SUSE-SU-2024:0613-1","SUSE-SU-2024:0613-2","UBUNTU-CVE-2024-25062","USN-6658-1","USN-6658-2","openSUSE-SU-2024:13676-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"libxml2 XML library","requires_auth":"none","summary":"Attackers can trigger a use-after-free in libxml2 via crafted XML when DTD validation and XInclude are enabled, potentially causing crashes or code execution.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libxml2","vendor":"xmlsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Python 3 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Use after free in n/a","id":"CVE-2024-25062","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"xmlsoft:libxml2","products":["xmlsoft:libxml2"],"type":"use_after_free","year":"2024"},"n_packages":119,"n_references":2,"next":{"headline":"Missing authorization in HikCentral Professional","id":"CVE-2024-25063"},"packages":[{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.431"],"introduced":["0","1.9.0"],"last_affected":[],"package":"java","purl":"pkg:bitnami/java","source":"BIT-java-2024-25062"},{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.431"],"introduced":["0","1.9.0"],"last_affected":[],"package":"java-min","purl":"pkg:bitnami/java-min","source":"BIT-java-min-2024-25062"},{"ecosystem":"Bitnami","fixed":["1.8.0","8.0.431"],"introduced":["0","1.9.0"],"last_affected":[],"package":"jre","purl":"pkg:bitnami/jre","source":"BIT-jre-2024-25062"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/almalinux/libxml2","source":"ALSA-2024:3626"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/almalinux/libxml2-devel","source":"ALSA-2024:3626"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/almalinux/python3-libxml2","source":"ALSA-2024:3626"},{"ecosystem":"AlmaLinux:9","fixed":["2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/almalinux/libxml2","source":"ALSA-2024:2679"},{"ecosystem":"AlmaLinux:9","fixed":["2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/almalinux/libxml2-devel","source":"ALSA-2024:2679"},{"ecosystem":"AlmaLinux:9","fixed":["2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/almalinux/python3-libxml2","source":"ALSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-18.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:3626"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-6.el9_4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:2679"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:3299"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:2.9.7-16.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2024:3303"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:2.9.7-16.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2024:3303"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:2.9.7-16.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2024:3303"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:2.9.7-16.el8_8.4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2024:3303"}],"prev":{"headline":"IBM Cognos Analytics improper certificate validation","id":"CVE-2024-25053"},"products":["n/a"],"published":"2024-02-04","related":[{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2017-16931","kev_date_added":null,"published":"2017-11-23"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-8872","kev_date_added":null,"published":"2017-05-10"},{"cvss_score":8.1,"headline":"Use after free in libxml2","id":"CVE-2022-49043","kev_date_added":null,"published":"2025-01-26"},{"cvss_score":8,"headline":"Memory corruption in libxml2","id":"CVE-2026-86140","kev_date_added":null,"published":"2026-09-05"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2024-34459","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":7.5,"headline":"Nokogiri gem, via libxml, is affected by DoS vulnerabilities","id":"CVE-2017-16932","kev_date_added":null,"published":"2017-11-23"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["n/a"]},"summary":"Attackers can trigger a use-after-free in libxml2 via crafted XML when DTD validation and XInclude are enabled, potentially causing crashes or code execution.","url":"https://insights.sbomify.com/CVE-2024-25062/"}