CVE-2018-1311
publishedxerces-c: XML parser contains a use-after-free error triggered during the scanning of external DTDs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Xerces-C3.0.0 to 3.2.2 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1415 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
| Debian | buster | xerces-c | Advisory build | 3.2.2+debian-1+deb10u1 | DSA-4814-1 |
| Oracle Linux | 6 | xerces-ci686 | Advisory build | 0:3.0.1-21.el6_10 | ELSA-2020-0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-ci686 | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1aarch64 | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| Alpine Linux | v3.19 | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
| Alpine Linux | v3.21 | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
| Alpine Linux | v3.22 | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
| Alpine Linux | v3.23 | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
| Alpine Linux | v3.24 | xerces-c | Fixed | 3.2.5-r0 | Package fix record |
| Debian | stretch | xerces-c | Advisory build | 3.1.4+debian-2+deb9u2 | DLA-2498-1 |
| Oracle Linux | 6 | xerces-cx86_64 | Advisory build | 0:3.0.1-21.el6_10 | ELSA-2020-0702 |
| Oracle Linux | 6 | xerces-c-develi686 | Advisory build | 0:3.0.1-21.el6_10 | ELSA-2020-0702 |
| Oracle Linux | 6 | xerces-c-develx86_64 | Advisory build | 0:3.0.1-21.el6_10 | ELSA-2020-0702 |
| Oracle Linux | 6 | xerces-c-doci686 | Advisory build | 0:3.0.1-21.el6_10 | ELSA-2020-0702 |
| Oracle Linux | 6 | xerces-c-docx86_64 | Advisory build | 0:3.0.1-21.el6_10 | ELSA-2020-0702 |
| Oracle Linux | 7 | xerces-caarch64 | Advisory build | 0:3.1.1-10.el7_7 | ELSA-2020-0704 |
| Oracle Linux | 7 | xerces-cx86_64 | Advisory build | 0:3.1.1-10.el7_7 | ELSA-2020-0704 |
| Oracle Linux | 7 | xerces-c-develaarch64 | Advisory build | 0:3.1.1-10.el7_7 | ELSA-2020-0704 |
| Oracle Linux | 7 | xerces-c-develx86_64 | Advisory build | 0:3.1.1-10.el7_7 | ELSA-2020-0704 |
| Oracle Linux | 7 | xerces-c-docaarch64 | Advisory build | 0:3.1.1-10.el7_7 | ELSA-2020-0704 |
| Oracle Linux | 7 | xerces-c-docx86_64 | Advisory build | 0:3.1.1-10.el7_7 | ELSA-2020-0704 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-csrc | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-cx86_64 | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-c-debuginfoi686 | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-c-debuginfox86_64 | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-c-develi686 | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-c-develx86_64 | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-6 | xerces-c-docnoarch | Advisory build | 3.0.1-21.el6_10 | RHSA-2020:0702 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-ci686 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-cppc | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-cppc64 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-cppc64le | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-cs390 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-cs390x | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-csrc | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-cx86_64 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfoi686 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfoppc | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfoppc64 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfoppc64le | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfos390 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfos390x | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-debuginfox86_64 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-develi686 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-develppc | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-develppc64 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-develppc64le | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-devels390 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-devels390x | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-develx86_64 | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| Red Hat Enterprise Linux | RHEL-7 | xerces-c-docnoarch | Advisory build | 3.1.1-10.el7_7 | RHSA-2020:0704 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1aarch64 | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1ppc64le | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1ppc64le | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1s390x | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1s390x | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1x86_64 | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1x86_64 | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1-32bits390x | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1-32bits390x | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1-32bitx86_64 | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-3_1-32bitx86_64 | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-develaarch64 | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-develaarch64 | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-develppc64le | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-develppc64le | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-devels390x | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-devels390x | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-develx86_64 | Advisory build | 3.1.1-13.12.1 | SUSE-SU-2024:0299-1 |
| SUSE / openSUSE | SLE-12-SP5 | libxerces-c-develx86_64 | Advisory build | 3.1.1-13.6.1 | SUSE-SU-2021:2944-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-3_1aarch64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-3_1ppc64le | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-3_1s390x | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-3_1x86_64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-develaarch64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-develppc64le | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-devels390x | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15 | libxerces-c-develx86_64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-3_1aarch64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-3_1ppc64le | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-3_1s390x | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-3_1x86_64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-develaarch64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-develppc64le | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-devels390x | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP1 | libxerces-c-develx86_64 | Advisory build | 3.1.4-3.6.1 | SUSE-SU-2021:2920-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1aarch64 | Advisory build | 3.1.4-10.3.1 | SUSE-SU-2021:2958-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1aarch64 | Advisory build | 3.1.4-150200.10.11.1 | SUSE-SU-2024:0300-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1ppc64le | Advisory build | 3.1.4-10.3.1 | SUSE-SU-2021:2958-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1ppc64le | Advisory build | 3.1.4-150200.10.11.1 | SUSE-SU-2024:0300-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1s390x | Advisory build | 3.1.4-10.3.1 | SUSE-SU-2021:2958-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1s390x | Advisory build | 3.1.4-150200.10.11.1 | SUSE-SU-2024:0300-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1x86_64 | Advisory build | 3.1.4-10.3.1 | SUSE-SU-2021:2958-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-3_1x86_64 | Advisory build | 3.1.4-150200.10.11.1 | SUSE-SU-2024:0300-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-develaarch64 | Advisory build | 3.1.4-10.3.1 | SUSE-SU-2021:2958-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-develaarch64 | Advisory build | 3.1.4-150200.10.11.1 | SUSE-SU-2024:0300-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-develppc64le | Advisory build | 3.1.4-10.3.1 | SUSE-SU-2021:2958-1 |
| SUSE / openSUSE | SLE-15-SP2 | libxerces-c-develppc64le | Advisory build | 3.1.4-150200.10.11.1 | SUSE-SU-2024:0300-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Xerces-C | 3.0.0 to 3.2.2 (affected) | apache · cna |
Weaknesses
1- Denial of Service and Remote Exploit
References
15- [oss-security] 20240216 CVE-2024-23807: Apache Xerces C++: Use-after-free on external DTD scan http://www.openwall.com/lists/oss-security/2024/02/16/1
- RHSA-2020:0702 https://access.redhat.com/errata/RHSA-2020:0702
- RHSA-2020:0704 https://access.redhat.com/errata/RHSA-2020:0704
- [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
- [xerces-c-users] 20210528 Re: Security vulnerability - CVE-2018-1311 https://lists.apache.org/thread.html/r90ec105571622a7dc3a43b846c12732d2e563561dfb2f72941625f35%40%3Cc-users.xerces.apache.org%3E
- [xerces-c-users] 20210528 Security vulnerability - CVE-2018-1311 https://lists.apache.org/thread.html/rabbcc0249de1dda70cda96fd9bcff78217be7a57d96e7dcc8cd96646%40%3Cc-users.xerces.apache.org%3E
- [xerces-c-users] 20210528 RE: Security vulnerability - CVE-2018-1311 https://lists.apache.org/thread.html/rfeb8abe36bcca91eb603deef49fbbe46870918830a66328a780b8625%40%3Cc-users.xerces.apache.org%3E
- [debian-lts-announce] 20201217 [SECURITY] [DLA 2498-1] xerces-c security update https://lists.debian.org/debian-lts-announce/2020/12/msg00025.html
- [debian-lts-announce] 20231231 [SECURITY] [DLA 3704-1] xerces-c security update https://lists.debian.org/debian-lts-announce/2023/12/msg00027.html
- FEDORA-2023-52ba628e03 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7A6WWL4SWKAVYK6VK5YN7KZP4MZWC7IY/
- FEDORA-2023-817ecc703f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/
- https://marc.info/?l=xerces-c-users&m=157653840106914&w=2
- DSA-4814 https://www.debian.org/security/2020/dsa-4814
- https://www.oracle.com/security-alerts/cpujan2022.html
Provider assertions
2apache · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a921c2e8ce69c098cd00e7d9210cdd7fb44dbad7c2f85dc03f8e941e212746eb
- Ingested
- 23 Sep 2026, 07:44:16 UTC
- Source record
- Official CVE record