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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.015 (74.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Apache Xerces-C\+\+
- Apache Software Foundation Xerces C++ — versions 3.0.0
Weakness classification (CWE)
References
- github.com/apache/xerces-c/pull/54 (Exploit, Patch, Third Party Advisory, patch)
- lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r (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.