Use-After-Free Error in Xerces C++ XML Parser Could Lead to Memory Corruption

Patch this weekFull system takeover over the network, no login needed.
9.8CRITICAL

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2024-23807
Vendor
CVE Published:
29 February 2024
Fixed in
Fixed in:
3.2.5

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Apache Xerces C++ 3.0.0 to below 3.2.5 is vulnerable
Install Apache Xerces C++ 3.2.5 or later
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Apache Xerces C++. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2024-23807?

The Apache Xerces C++ XML Parser prior to version 3.2.5 is susceptible to a use-after-free vulnerability, which may be exploited during the processing of external DTDs. This flaw can lead to application crashes or potential unauthorized access. Users are urged to upgrade to version 3.2.5 to resolve this issue or disable DTD processing as a temporary mitigation strategy. This can be performed through standard parser features in the DOM or by setting the XERCES_DISABLE_DTD environment variable for SAX parsers. It is important to note that this issue was previously reported as CVE-2018-1311, but prior advisories inaccurately indicated that it would be addressed in earlier versions.

References

Key Exchange Vulnerability in Apache Tomcat

CVE-2026-133325
ApacheApache Tomcat😄👾9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache Tomcat😄9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache Roller😄👾9.8CRITICAL
View more Apache vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.