CVE-2024-23807
published high CVSS 3.1 · 8.1Apache Xerces C++: Use-after-free on external DTD scan
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Xerces C++3.0.0 to < 3.2.5 · Other versions: unaffected | Affected | Not stated | apache |
| apache | — | xerces-c3.0.0 to < 3.2.5 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2476 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | xerces-caarch64 | Listed in advisory | Not stated | ALAS2-2024-2476 |
| Amazon Linux | AL2 | xerces-ci686 | Listed in advisory | Not stated | ALAS2-2024-2476 |
| Amazon Linux | AL2 | xerces-cnoarch | Listed in advisory | Not stated | ALAS2-2024-2476 |
| Amazon Linux | AL2 | xerces-csrc | Listed in advisory | Not stated | ALAS2-2024-2476 |
| Amazon Linux | AL2 | xerces-cx86_64 | Listed in advisory | Not stated | ALAS2-2024-2476 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Xerces C++ | 3.0.0 to < 3.2.5 (affected · semver)Default: unaffected | apache · cna |
| apache | xerces-c | 3.0.0 to < 3.2.5 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-416 CWE-416 Use After Free
- CWE-416 CWE-416 Use After Free
References
2Provider assertions
3apache · cna
Apache Xerces C++: Use-after-free on external DTD scan
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ba8c2c99d14d71c15e9c6bc2ac71959a569c2cfdf858d6e246d7aae3e382722b
- Ingested
- 23 Sep 2026, 08:19:40 UTC
- Source record
- Official CVE record