# CVE-2018-1311: libxerces-c3.2: The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of extern...

CVE-2018-1311 is fixed in 2 products on 1 platform, first by libxerces-c-samples 3.2.2+debian-1ubuntu0.1, released December 18, 2019. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-1311
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0950
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 18, 2019

## Description

The Apache Xerces-C 3.0.0 to 3.2.3 XML parser contains a use-after-free error triggered during the scanning of external DTDs. This flaw has not been addressed in the maintained version of the library and has no current mitigation other than to disable DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.

## 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 20.04 LTS (focal) | 3.2.2+debian-1ubuntu0.1 | [libxerces-c-samples 3.2.2+debian-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxerces-c-samples-3.2.2-debian-1ubuntu0.1.md) | Dec 18, 2019 |
| 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 20.04 LTS (focal) | 3.2.2+debian-1ubuntu0.1 | [libxerces-c3.2 3.2.2+debian-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libxerces-c3.2-3.2.2-debian-1ubuntu0.1.md) | Dec 18, 2019 |
| 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-07T18:46:35Z 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.
