CVE-2018-1311
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 9.50% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.9% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-12-18 00:00Z6 YR AGO
- Last updated
- 2025-11-04 18:14Z11 MO AGO
- Reserved
- 2017-12-07
- Assigning CNA
- apache
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- e7ba4d646f6ba1517216fe84a5cc1d7558d1c965c8e96fc10192e425a2c34103
05 Affected products
06 References
- lists.apache.org[xerces-c-dev] 20200110 [xerces-c] 06/13: Add CVE-2018-1311 advisory and web site note.https://lists.apache.org/thread.html/r48ea463fde218b1e4cc1a1d05770a0cea34de0600b4355315a49226b%40%3Cc-dev.xerces.apache.org%3E
- access.redhat.comRHSA-2020:0704https://access.redhat.com/errata/RHSA-2020:0704
- access.redhat.comRHSA-2020:0702https://access.redhat.com/errata/RHSA-2020:0702
- lists.debian.org[debian-lts-announce] 20201217 [SECURITY] [DLA 2498-1] xerces-c security updatehttps://lists.debian.org/debian-lts-announce/2020/12/msg00025.html
- www.debian.orgDSA-4814https://www.debian.org/security/2020/dsa-4814
- lists.apache.org[xerces-c-users] 20210528 Security vulnerability - CVE-2018-1311https://lists.apache.org/thread.html/rabbcc0249de1dda70cda96fd9bcff78217be7a57d96e7dcc8cd96646%40%3Cc-users.xerces.apache.org%3E
- lists.apache.org[xerces-c-users] 20210528 RE: Security vulnerability - CVE-2018-1311https://lists.apache.org/thread.html/rfeb8abe36bcca91eb603deef49fbbe46870918830a66328a780b8625%40%3Cc-users.xerces.apache.org%3E
- lists.apache.org[xerces-c-users] 20210528 Re: Security vulnerability - CVE-2018-1311https://lists.apache.org/thread.html/r90ec105571622a7dc3a43b846c12732d2e563561dfb2f72941625f35%40%3Cc-users.xerces.apache.org%3E
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujan2022.html
- marc.infohttps://marc.info/?l=xerces-c-users&m=157653840106914&w=2
- lists.fedoraproject.orgFEDORA-2023-52ba628e03https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7A6WWL4SWKAVYK6VK5YN7KZP4MZWC7IY/
- lists.fedoraproject.orgFEDORA-2023-817ecc703fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/
- lists.debian.org[debian-lts-announce] 20231231 [SECURITY] [DLA 3704-1] xerces-c security updatehttps://lists.debian.org/debian-lts-announce/2023/12/msg00027.html
- www.openwall.com[oss-security] 20240216 CVE-2024-23807: Apache Xerces C++: Use-after-free on external DTD scanhttp://www.openwall.com/lists/oss-security/2024/02/16/1
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/
07 Fixed in
Arch Linux
- xerces-c No fix yet
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- xerces-c Fixed in 3.2.3+debian-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- xerces-c Fixed in 3.2.3+debian-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- xerces-c Fixed in 3.2.3+debian-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- xerces-c Fixed in 3.2.2+debian-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- xerces-c Fixed in 3.2.3+debian-3ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- xerces-c Fixed in 3.1.1-5.1+deb8u4ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- xerces-c Fixed in 3.1.3+debian-1ubuntu0.1~esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- xerces-c Fixed in 3.2.0+debian-2ubuntu0.1~esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- xerces-c Fixed in 3.2.3+debian-3ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.