CVE-2024-23807: Apache Xerces C++: Use-after-free on external DTD scan
Vulnerability summary
CVE-2024-23807 is a critical (CVSS 9.8) Use After Free vulnerability in apache software foundation apache xerces c++. EPSS estimates a 1.48% chance of exploitation in the next 30 days, higher than 74.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 28-02-2024PublishedVulnerability first disclosed.
- 22-01-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.48%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.48% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundXerces C
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- xerces-c\+\+≥ 3.0.0, < 3.2.5
Apache software foundation1 product
- apache xerces c++≥ 3.0.0, < 3.2.5
Ubuntu1 product
- xerces-c< 3.1.3+debian-1ubuntu0.1~esm2 | < 3.2.0+debian-2ubuntu0.1~esm2 | < 3.2.3+debian-3ubuntu0.1 | < 3.2.3+debian-3ubuntu0.1~esm1
3 vendors · 3 products