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 6y ago modified 4mo 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
Is CVE-2018-1311 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-caffected: 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_7fixed: 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_10fixed: vendor fix RHSA-2020:0702
-
Red Hat Enterprise Linux Server (v. 7) xerces-c 3.1.1-10.el7_7fixed: vendor fix RHSA-2020:0704
-
Red Hat Enterprise Linux Server Optional (v. 6) xerces-c 3.0.1-21.el6_10fixed: 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_7fixed: vendor fix RHSA-2020:0704
-
Red Hat Enterprise Linux Workstation Optional (v. 6) xerces-c 3.0.1-21.el6_10fixed: vendor fix RHSA-2020:0702
-
Red Hat Enterprise Linux Workstation Optional (v. 7) xerces-c 3.1.1-10.el7_7fixed: 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-09).
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
-
- CWE-416 Use After Free
References
-
oracle.com
/security-alerts/cpujan2022.html
patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0704
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0702
vendor-advisory, third-party-advisory
-
debian.org
/security/2020/dsa-4814
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/7A6WWL4SWKAVYK6VK5YN7KZP4MZWC7IY/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/
vendor-advisory, mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/r48ea463fde218b1e4cc1a1d05770a0cea34de0600b4355315a49226b%40%3Cc-dev.xerces.apache.org%3E
mailing-list, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/12/msg00025.html
mailing-list, third-party-advisory
-
lists.apache.org
/thread.html/rabbcc0249de1dda70cda96fd9bcff78217be7a57d96e7dcc8cd96646%40%3Cc-users.xerces.apache.org%3E
mailing-list, issue-tracking
-
lists.apache.org
/thread.html/rfeb8abe36bcca91eb603deef49fbbe46870918830a66328a780b8625%40%3Cc-users.xerces.apache.org%3E
mailing-list, issue-tracking
-
lists.apache.org
/thread.html/r90ec105571622a7dc3a43b846c12732d2e563561dfb2f72941625f35%40%3Cc-users.xerces.apache.org%3E
mailing-list, issue-tracking
-
marc.info
/?l=xerces-c-users&m=157653840106914&w=2
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/12/msg00027.html
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2024/02/16/1
mailing-list, third-party-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/
Sources
- CVE List CVE-2018-1311
- NVD CVE-2018-1311
Fencer Intel 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.