BreachSpiderVerified, not vibes

CVE-2024-23807 in Apache Xerces-C++

Critical 9.8

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 sta...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS1.6%
EPSS percentile76th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Xerces-C++ ≥ 3.0.0, < 3.2.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-23807
BreachSpider IDBS-2024-GLOBAL-051703-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-02-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

The Apache Xerces C++ XML parser versions 3.0.0 before 3.2.5 are vulnerable to a use-after-free error during the scanning of external DTDs, which could lead to arbitrary code execution.

An attacker can exploit this vulnerability by crafting a malicious XML document with a specially crafted external DTD that triggers the use-after-free condition in the parser.

Questions

What is CVE-2024-23807?

The Apache Xerces C++ XML parser versions 3.0.0 before 3.2.5 are vulnerable to a use-after-free error during the scanning of external DTDs, which could lead to arbitrary code execution.

What is the CVSS score for CVE-2024-23807?

CVE-2024-23807 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.6%.

Is CVE-2024-23807 actively exploited?

No confirmed active exploitation of CVE-2024-23807 as of 2026-09-25.

How do I remediate CVE-2024-23807?

Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r

What systems are affected by CVE-2024-23807?

CVE-2024-23807 affects Apache Xerces-C++.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Xerces-C++","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.