Skip to content
Fencer Vulns
high 8.1

CVE-2018-1311 json

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.

published 2019-12-18 6 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11912

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.5%
EPSS 9.5% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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.

Patch / fix

  • apache xerces-c++ 3.2.5
  • oracle goldengate 21.4.0.0.0
  • xerces-c Debian 14, Debian 13, Debian 12 3.2.3+debian-2

debian advisories DEBIAN-CVE-2018-1311

  • xerces-c Ubuntu 20.04 LTS 3.2.2+debian-1ubuntu0.1
  • xerces-c Ubuntu 22.04 LTS 3.2.3+debian-3ubuntu0.1
  • xerces-c Ubuntu Pro 14.04 LTS 3.1.1-5.1+deb8u4ubuntu0.1~esm1
  • xerces-c Ubuntu Pro 16.04 LTS 3.1.3+debian-1ubuntu0.1~esm2
  • xerces-c Ubuntu Pro 18.04 LTS 3.2.0+debian-2ubuntu0.1~esm2
  • xerces-c Ubuntu Pro 22.04 LTS 3.2.3+debian-3ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2018-1311

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • xerces-c RHEL 7 3.1.1-10.el7_7
  • xerces-c RHEL 6 3.0.1-21.el6_10

red hat advisories RHSA-2020:0704RHSA-2020:0702

  • xerces-c SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES 15 SP4-LTSS +9 more 3.2.3-150300.3.6.1
  • xerces-c SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +4 more 3.1.4-150200.10.11.1
  • xerces-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.1-13.12.1
  • xerces-c SLE Module for Basesystem 15 SP2 3.1.4-10.3.1
  • xerces-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.1-13.6.1
  • xerces-c SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +10 more 3.1.4-3.6.1

suse advisories SUSE-SU-2024:0320-1SUSE-SU-2024:0300-1SUSE-SU-2024:0299-1SUSE-SU-2021:2958-1SUSE-SU-2021:2944-1SUSE-SU-2021:2920-1

  • xerces-c openSUSE Tumbleweed 3.2.5-1.1
  • xerces-c openSUSE Leap 15.2 3.1.4-lp152.5.3.1
  • xerces-c openSUSE Leap 15.3 3.1.4-10.3.1

opensuse advisories openSUSE-SU-2024:13540-1openSUSE-SU-2021:1231-1openSUSE-SU-2021:2958-1

  • xerces-c Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 3.2.5-r0

alpine advisories ALPINE-CVE-2018-1311

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1311 updated cvss 8.1

xerces-c: XML parser contains a use-after-free error triggered during the scanning of external DTDs

  • Red Hat Enterprise MRG 3 xerces-c
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux Client Optional (v. 7) xerces-c 3.1.1-10.el7_7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) xerces-c 3.1.1-10.el7_7
    fixed: vendor fix RHSA-2020:0704
  • Red Hat Enterprise Linux Desktop Optional (v. 6) xerces-c 3.0.1-21.el6_10 Red Hat Enterprise Linux HPC Node Optional (v. 6) xerces-c 3.0.1-21.el6_10
    fixed: vendor fix RHSA-2020:0702
  • Red Hat Enterprise Linux Server (v. 7) xerces-c 3.1.1-10.el7_7
    fixed: vendor fix RHSA-2020:0704
  • Red Hat Enterprise Linux Server Optional (v. 6) xerces-c 3.0.1-21.el6_10
    fixed: vendor fix RHSA-2020:0702
  • Red Hat Enterprise Linux Server Optional (v. 7) xerces-c 3.1.1-10.el7_7 Red Hat Enterprise Linux Workstation (v. 7) xerces-c 3.1.1-10.el7_7
    fixed: vendor fix RHSA-2020:0704
  • Red Hat Enterprise Linux Workstation Optional (v. 6) xerces-c 3.0.1-21.el6_10
    fixed: vendor fix RHSA-2020:0702
  • Red Hat Enterprise Linux Workstation Optional (v. 7) xerces-c 3.1.1-10.el7_7
    fixed: vendor fix RHSA-2020:0704

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

9.50% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • Apache Software Foundation Apache Xerces-C

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.