Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-1311 EUVD-2018-11912GHSA-7rpp-hwhj-9hv8

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…

Published Dec 18, 2019 · Updated Nov 4, 2025 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Xerces-C 3.0.0 to 3.2.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xerces-c 3.2.3+debian-2 —
Debian 13 xerces-c 3.2.3+debian-2 —
Debian 12 xerces-c 3.2.3+debian-2 —
Debian 10 xerces-c 3.2.2+debian-1+deb10u1 DSA-4814-1
Debian 9 xerces-c 3.1.4+debian-2+deb9u2 DLA-2498-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS xerces-c 3.2.3+debian-3ubuntu0.1 USN-6590-1
Ubuntu 20.04 LTS xerces-c 3.2.2+debian-1ubuntu0.1 USN-6590-1, USN-6579-2
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS xerces-c 3.2.3+debian-3ubuntu0.1~esm1 USN-6579-2
Ubuntu Pro 18.04 LTS xerces-c 3.2.0+debian-2ubuntu0.1~esm2 USN-6590-1, USN-6579-1
Ubuntu Pro 16.04 LTS xerces-c 3.1.3+debian-1ubuntu0.1~esm2 USN-6590-1, USN-6579-1
Ubuntu Pro 14.04 LTS xerces-c 3.1.1-5.1+deb8u4ubuntu0.1~esm1 USN-6590-1, USN-6579-1
ReleasePackageFixed inAdvisory
RHEL 7 xerces-c +2 3.1.1-10.el7_7 RHSA-2020:0704
RHEL 6 xerces-c +2 3.0.1-21.el6_10 RHSA-2020:0702
ReleasePackageFixed inAdvisory
SLES 15 SP5 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
SLES 15 SP4 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
SLES 15 SP3 xerces-c 3.1.4-150200.10.11.1 SUSE-SU-2024:0320-1, SUSE-SU-2024:0300-1
SLES 15 SP2 xerces-c 3.1.4-10.3.1 SUSE-SU-2024:0300-1, SUSE-SU-2021:2958-1
SLES 15 SP1 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SLES 12 SP5 xerces-c 3.1.1-13.6.1 SUSE-SU-2024:0299-1, SUSE-SU-2021:2944-1
SLES for SAP 15 SP4 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
SLES for SAP 15 SP3 xerces-c 3.1.4-150200.10.11.1 SUSE-SU-2024:0320-1, SUSE-SU-2024:0300-1
SLES for SAP 15 SP2 xerces-c 3.1.4-150200.10.11.1 SUSE-SU-2024:0300-1
SLES for SAP 15 SP1 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SLES for SAP 15 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SLES for SAP 12 SP5 xerces-c 3.1.1-13.6.1 SUSE-SU-2024:0299-1, SUSE-SU-2021:2944-1
SLE HPC 15 SP4 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
SLE HPC 15 SP3 xerces-c 3.1.4-150200.10.11.1 SUSE-SU-2024:0320-1, SUSE-SU-2024:0300-1
SLE HPC 15 SP2 xerces-c 3.1.4-150200.10.11.1 SUSE-SU-2024:0300-1
SLE HPC 15 SP1 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SLE HPC 15 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SUSE Manager Server 4.3 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
SUSE Manager Server 4.0 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SUSE Manager Retail Branch Server 4.0 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SUSE Manager Proxy 4.3 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
SUSE Manager Proxy 4.0 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
SUSE Enterprise Storage 7.1 xerces-c 3.1.4-150200.10.11.1 SUSE-SU-2024:0320-1, SUSE-SU-2024:0300-1
SUSE Enterprise Storage 6 xerces-c 3.1.4-3.6.1 SUSE-SU-2021:2920-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xerces-c 3.2.5-1.1 openSUSE-SU-2024:13540-1
openSUSE Leap 15.5 xerces-c 3.2.3-150300.3.6.1 SUSE-SU-2024:0320-1
openSUSE Leap 15.3 xerces-c 3.1.4-10.3.1 openSUSE-SU-2021:2958-1
openSUSE Leap 15.2 xerces-c 3.1.4-lp152.5.3.1 openSUSE-SU-2021:1231-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xerces-c 3.2.5-r0 —
Alpine v3.23 xerces-c 3.2.5-r0 —
Alpine v3.22 xerces-c 3.2.5-r0 —
Alpine v3.21 xerces-c 3.2.5-r0 —
Alpine v3.20 xerces-c 3.2.5-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xerces-c 3.2.5-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 xerces-c +2 3.1.1-10.amzn2 ALAS2-2020-1415

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 xerces-c +2 3.1.1-10.el7_7 ELSA-2020-0704

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • // SPDX-FileCopyrightText: Portions Copyright 2021 Siemens // Modified on 15-Jul-2021 by Siemens and/or its affiliates to fix CVE-2018-1311: Apache Xerces-C use-after-free vulnerability scanning exte…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 20

References