CVE-2024-23807
CVE-2024-23807 is a critical-severity vulnerability in Apache Xerces-c++ with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (71st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-21260
- Weakness: CWE-416
- Affected product: Apache Xerces-c++
- Published:
- Last modified:
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. Users 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. This 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.
Frequently asked questions
- What is CVE-2024-23807?
- 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. Users 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. This 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.
- How severe is CVE-2024-23807?
- CVE-2024-23807 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-23807 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (71st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-23807?
- CVE-2024-23807 affects Apache Xerces-c++. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-23807?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-23807 have an EU (EUVD) identifier?
- Yes. CVE-2024-23807 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-21260.
- When was CVE-2024-23807 published?
- CVE-2024-23807 was published on 2024-02-29 and last updated on 2026-06-17.
References
- https://github.com/apache/xerces-c/pull/54
- https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r
Affected products (1)
- cpe:2.3:a:apache:xerces-c\+\+:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Xerces-c++
- CVE-2017-12627 — Critical (CVSS 9.8): In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer…
- CVE-2016-2099 — Critical (CVSS 9.8): Use-after-free vulnerability in validators/DTD/DTDScanner.cpp in Apache Xerces C++ 3.1.3 and earlier allows…
- CVE-2023-37536 — High (CVSS 8.2): An integer overflow in xerces-c++ 3.2.3 in BigFix Platform allows remote attackers to cause out-of-bound access via…
- CVE-2018-1311 — High (CVSS 8.1): The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of external…
- CVE-2008-4482 — High (CVSS 7.8): The XML parser in Xerces-C++ before 3.0.0 allows context-dependent attackers to cause a denial of service (stack…
- CVE-2012-0880 — High (CVSS 7.5): Apache Xerces-C++ allows remote attackers to cause a denial of service (CPU consumption) via a crafted message sent to…
All CVEs affecting Apache Xerces-c++ →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…