# CVE-2024-23807: libxerces-c-samples: The Apache Xerces C++ XML parser on versions 3.0.0 before 3.2.5 contains a use-after-free error triggered during the...

CVE-2024-23807 is fixed in 2 products on 1 platform, first by libxerces-c-samples 3.2.0+debian-2ubuntu0.1~esm2, released February 28, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-23807
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0148
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 28, 2024

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libxerces-c-samples Ubuntu 18.04.6 LTS (bionic) | 3.2.0+debian-2ubuntu0.1~esm2 | [libxerces-c-samples 3.2.0+debian-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxerces-c-samples-3.2.0-debian-2ubuntu0.1-esm2.md) | Feb 28, 2024 |
| Linux | libxerces-c-samples Ubuntu 22.04.1 LTS (jammy) | 3.2.3+debian-3ubuntu0.1~esm1 | [libxerces-c-samples 3.2.3+debian-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxerces-c-samples-3.2.3-debian-3ubuntu0.1-esm1.md) | Feb 28, 2024 |
| Linux | libxerces-c3.2 Ubuntu 18.04.6 LTS (bionic) | 3.2.0+debian-2ubuntu0.1~esm2 | [libxerces-c3.2 3.2.0+debian-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libxerces-c3.2-3.2.0-debian-2ubuntu0.1-esm2.md) | Feb 28, 2024 |
| Linux | libxerces-c3.2 Ubuntu 22.04.1 LTS (jammy) | 3.2.3+debian-3ubuntu0.1~esm1 | [libxerces-c3.2 3.2.3+debian-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libxerces-c3.2-3.2.3-debian-3ubuntu0.1-esm1.md) | Feb 28, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
