cve.bz

CVE-2024-23807 apache xerces-c\+\+: Use After Free

9.8 criticalExploit referenceEPSS 1.5%Fix available

Critical (9.8) in apache xerces-c\+\+. EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-23807 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-23807?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-23807?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-23807 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • apache:xerces-c\+\+

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Xerces C++from 3.0.0 before 3.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTSxerces-c3.2.3+debian-3ubuntu0.1UBUNTU-CVE-2024-23807
UbuntuPro:16.04:LTSxerces-c3.1.3+debian-1ubuntu0.1~esm2UBUNTU-CVE-2024-23807
UbuntuPro:18.04:LTSxerces-c3.2.0+debian-2ubuntu0.1~esm2UBUNTU-CVE-2024-23807
UbuntuPro:22.04:LTSxerces-c3.2.3+debian-3ubuntu0.1~esm1UBUNTU-CVE-2024-23807
Azure Linux2xerces-c3.2.4-2AZL-55883
Azure Linux3xerces-c3.2.4-2AZL-55898

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6xerces-cNot affected
Red Hat Enterprise Linux 7xerces-cNot affected
Red Hat Enterprise MRG 3xerces-cNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-23807.

References

Check your stackJSON