CVE-2018-1311

published 18 Dec 2019 · updated 4 Nov 2025

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.

8.1HighCVSS 8.1EPSS 10%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 10%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation=3.0.0 to 3.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-1311 severity on Zeptric[![CVE-2018-1311](https://zeptric.io/badge/cve/CVE-2018-1311.svg)](https://zeptric.io/cve/CVE-2018-1311)