{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-9714 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-9714 is a medium-severity denial of service vulnerability in Xmlsoft Libxml2, published on 10 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-9714 and fix it if it is affected.\n\nWhat it is: CVE-2025-9714 is a medium-severity denial of service vulnerability in Xmlsoft Libxml2, published on 10 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-9714 in the wild and no public exploit code.\n\nAffected product: Xmlsoft Libxml2. 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-9714/ (Markdown: https://insights.sbomify.com/CVE-2025-9714/index.md)","id":"CVE-2025-9714","markdown":"https://insights.sbomify.com/CVE-2025-9714/index.md","name":"CVE-2025-9714","record":{"aliases":["ALSA-2025:22376","ALSA-2026:11349","CLSA-2025-1759411642","CLSA-2025-1760020147","CLSA-2025-1760020311","CLSA-2025-1760020498","CLSA-2025-1761312327","CLSA-2026-1767608985","CLSA-2026-1768943030","CLSA-2026-1790241783","CLSA-2026-1790242021","CLSA-2026-1790242323","DEBIAN-CVE-2025-9714","DLA-4319-1","ECHO-8406-e671-1093","GHSA-fmj5-rvmp-845r","JLSEC-2025-91","OESA-2025-2255","OESA-2025-2285","RHSA-2025:22162","RHSA-2025:22163","RHSA-2025:22177","RHSA-2025:22376","RHSA-2025:22377","RHSA-2026:11349","RHSA-2026:14832","RHSA-2026:14858","RHSA-2026:15967","RHSA-2026:22420","RLSA-2025:22376","RLSA-2026:11349","UBUNTU-CVE-2025-9714","USN-7743-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"XML parsing library","requires_auth":"none","summary":"A local attacker can cause a stack overflow and denial of service in libxml2 by providing crafted XPath expressions that trigger uncontrolled recursion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"libxml2","vendor":"xmlsoft"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"Uncontrolled recursion in XPath evaluation in libxml2 up to and including version 2.9.14 allows a local attacker to cause a stack overflow via crafted expressions. XPath processing functions `xmlXPathRunEval`, `xmlXPathCtxtCompile`, and `xmlXPathEvalExpr` were resetting recursion depth to zero before making potentially recursive calls. When such functions were called recursively this could allow for uncontrolled recursion and lead to a stack overflow. These functions now preserve recursion depth across recursive calls, allowing recursion depth to be controlled.","ecosystems":["AlmaLinux:8","AlmaLinux:9","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_aus:8.4::appstream","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::appstream","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.6::appstream","Red Hat:rhel_eus:9.6::baseos","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::appstream","Red Hat:rhel_tus:8.8::baseos","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":"none_known"},"has_fix":true,"headline":"Stack overflow in libxml2","id":"CVE-2025-9714","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"xmlsoft:libxml2","products":["xmlsoft:libxml2"],"type":"denial_of_service","year":"2025"},"n_packages":130,"n_references":1,"next":{"headline":"O2OA Personal Profile script cross site scripting","id":"CVE-2025-9715"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/almalinux/libxml2","source":"ALSA-2026:11349"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/almalinux/libxml2-devel","source":"ALSA-2026:11349"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/almalinux/python3-libxml2","source":"ALSA-2026:11349"},{"ecosystem":"AlmaLinux:9","fixed":["2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/almalinux/libxml2","source":"ALSA-2025:22376"},{"ecosystem":"AlmaLinux:9","fixed":["2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/almalinux/libxml2-devel","source":"ALSA-2025:22376"},{"ecosystem":"AlmaLinux:9","fixed":["2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/almalinux/python3-libxml2","source":"ALSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-21.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:11349"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:2.9.13-14.el9_7"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2025:22376"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:2.9.7-9.el8_4.9"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:14832"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:15967"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:15967"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2026:15967"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2026:15967"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2026:15967"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2026:15967"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.13"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2026:15967"}],"prev":{"headline":"Path traversal in Endpoint Manager","id":"CVE-2025-9713"},"products":["libxml2"],"published":"2025-09-10","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":"Use after free in n/a","id":"CVE-2024-25062","kev_date_added":null,"published":"2024-02-04"},{"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["libxml2"]},"summary":"A local attacker can cause a stack overflow and denial of service in libxml2 by providing crafted XPath expressions that trigger uncontrolled recursion.","url":"https://insights.sbomify.com/CVE-2025-9714/"}