CVE-2024-23807
CRITICAL 9.8CVSS 3.1The 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.
- Published
- 29 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-416
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | xerces-c++cpe:2.3:a:apache:xerces-c\+\+:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.2.5 | 3.2.5 |
References
- https://github.com/apache/xerces-c/pull/54 · Exploit, Patch, Third Party Advisory
- https://lists.apache.org/thread/c497tgn864tsbm8w0bo3f0d81s07zk9r · Mailing List, Patch, Vendor Advisory
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 29 Feb 2024)