{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23807 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-23807 is a high-severity use after free vulnerability in Apache Xerces C++, published on 28 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-23807 and fix it if it is affected.\n\nWhat it is: CVE-2024-23807 is a high-severity use after free vulnerability in Apache Xerces C++, published on 28 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-23807 in the wild and no public exploit code.\n\nAffected product: Apache Xerces C++. 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-2024-23807/ (Markdown: https://insights.sbomify.com/CVE-2024-23807/index.md)","id":"CVE-2024-23807","markdown":"https://insights.sbomify.com/CVE-2024-23807/index.md","name":"CVE-2024-23807","record":{"aliases":["AZL-55883","AZL-55898","ECHO-ae39-d338-5e8a","GHSA-8582-h585-f568","UBUNTU-CVE-2024-23807"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"XML parsing library","requires_auth":"none","summary":"A use-after-free vulnerability in the Apache Xerces C++ XML parser allows attackers to execute arbitrary code or cause denial of service via malicious external DTDs.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"xerces-c\\+\\+","vendor":"apache"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"The Apache Xerces C++ XML parser on versions 3.0.0 before 3.2.5 contains a use-after-free error triggered during the scanning of external DTDs.\n\nUsers are recommended to upgrade to version 3.2.5 which fixes the issue, or mitigate the issue by disabling DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.\n\nThis issue has been disclosed before as CVE-2018-1311, but unfortunately that advisory incorrectly stated the issue would be fixed in version 3.2.3 or 3.2.4.","ecosystems":[],"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":"Apache Xerces C++: Use-after-free on external DTD scan","id":"CVE-2024-23807","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Arkcompiler ets frontend has an out-of-bounds read vulnerability","id":"CVE-2024-23808"},"packages":[],"prev":{"headline":"HID Global Reader Configuration Cards Improper Authorization","id":"CVE-2024-23806"},"products":["Apache Xerces C++"],"published":"2024-02-28","related":[{"cvss_score":9.8,"headline":"Null dereference in Apache Xerces C++","id":"CVE-2017-12627","kev_date_added":null,"published":"2018-03-01"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-2099","kev_date_added":null,"published":"2016-05-13"},{"cvss_score":8.2,"headline":"HCL BigFix Platform is vulnerable to an integer overflow in xerces-c++ 3.2.3","id":"CVE-2023-37536","kev_date_added":null,"published":"2023-10-11"},{"cvss_score":8.1,"headline":"Use after free in Apache Xerces-C","id":"CVE-2018-1311","kev_date_added":null,"published":"2019-12-18"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2008-4482","kev_date_added":null,"published":"2008-10-08"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2012-0880","kev_date_added":null,"published":"2017-08-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-01-22","vendors":["Apache Software Foundation"]},"summary":"A use-after-free vulnerability in the Apache Xerces C++ XML parser allows attackers to execute arbitrary code or cause denial of service via malicious external DTDs.","url":"https://insights.sbomify.com/CVE-2024-23807/"}