CVE-2024-23807

Public Exploit
Apache Xerces C++: Use-after-free on external DTD scan

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.17%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Xerces C++
Published at:
Updated at:

References

Link Tags
https://github.com/apache/xerces-c/pull/54 patch third party advisory exploit
https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r patch vendor advisory mailing list

Frequently Asked Questions

What is the severity of CVE-2024-23807?
CVE-2024-23807 has been scored as a critical severity vulnerability.
How to fix CVE-2024-23807?
To fix CVE-2024-23807, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-23807 being actively exploited in the wild?
It is possible that CVE-2024-23807 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-23807?
CVE-2024-23807 affects Apache Software Foundation Apache Xerces C++.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.