CVEfocus › CVE database › CVE-2018-1311

CVE-2018-1311

CVSS 8.1 HighEPSS 9.5% (higher than 96% of CVEs)Published 2019-12-18Updated 2025-11-04Assigner: apache

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04xerces-cFixed3.2.3+debian-3ubuntu0.1UBUNTU-CVE-2018-1311
Ubuntu 20.04xerces-cFixed3.2.2+debian-1ubuntu0.1UBUNTU-CVE-2018-1311
Ubuntu 18.04xerces-cFix pending3.2.0+debian-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2018-1311
Ubuntu 16.04xerces-cFix pending3.1.3+debian-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2018-1311
Ubuntu 14.04xerces-cFix pending3.1.1-5.1+deb8u4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2018-1311
Debian 14xerces-cFixed3.2.3+debian-2DEBIAN-CVE-2018-1311
Debian 13xerces-cFixed3.2.3+debian-2DEBIAN-CVE-2018-1311
Debian 12xerces-cFixed3.2.3+debian-2DEBIAN-CVE-2018-1311
Red Hat Enterprise Linux 7xerces-cFixed0:3.1.1-10.el7_7RHSA-2020:0704
Red Hat Enterprise Linux 7xerces-c-develFixed0:3.1.1-10.el7_7RHSA-2020:0704
Red Hat Enterprise Linux 7xerces-c-docFixed0:3.1.1-10.el7_7RHSA-2020:0704
Red Hat Enterprise Linux 6xerces-cFixed0:3.0.1-21.el6_10RHSA-2020:0702
Red Hat Enterprise Linux 6xerces-c-develFixed0:3.0.1-21.el6_10RHSA-2020:0702
Red Hat Enterprise Linux 6xerces-c-docFixed0:3.0.1-21.el6_10RHSA-2020:0702
Alpine Linux 3.24xerces-cFixed3.2.5-r0ALPINE-CVE-2018-1311
Alpine Linux 3.23xerces-cFixed3.2.5-r0ALPINE-CVE-2018-1311
Alpine Linux 3.22xerces-cFixed3.2.5-r0ALPINE-CVE-2018-1311
Alpine Linux 3.21xerces-cFixed3.2.5-r0ALPINE-CVE-2018-1311
Alpine Linux 3.20xerces-cFixed3.2.5-r0ALPINE-CVE-2018-1311
Alpine Linux 3.19xerces-cFixed3.2.5-r0ALPINE-CVE-2018-1311

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.