Use After Free in Apache Xerces-C\+\+
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.
Vulnerability class: Use-After-Free
EPSS: 0.015 (72.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Apache Xerces-c\+\+
- Apache Software Foundation Xerces C++ — versions 3.0.0
Weakness classification (CWE)
References
- security@apache.org (Exploit, Patch, Third Party Advisory, patch)
- security@apache.org (vendor-advisory, Patch, Mailing List, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-23807?
- CVE-2024-23807 is a critical-severity vulnerability in Apache Xerces-C\+\+, classified under Use After Free. CVSS score: 9.8/10. Published 2024-02-29.
- How severe is CVE-2024-23807?
- Critical severity. CVSS v3 base score is 9.8 out of 10.