CVE-2024-23807

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

Published Feb 28, 2024 CVSS 3.1 · 8.1 High EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache xerces-c
CPEs cpe:2.3:a:apache:xerces-c:3.0.0:*:*:*:*:*:*:*
Vendors & Products Apache xerces-c
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Apache
Apache xerces-c\+\+
CPEs cpe:2.3:a:apache:xerces-c\+\+:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache xerces-c\+\+
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jan 22, 2026, 4:55 AM
Reserved
Jan 22, 2024, 4:40 PM
Status
Analyzed
Published
Feb 29, 2024, 1:44 AM
Modified
Jun 17, 2026, 7:13 AM
Severity
Important
Public date
Feb 16, 2024, 12:00 AM