CVE-2018-1311
Reported by apache · Published December 18, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xerces-c\+\+ | apache | 3.2.5 |
| 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 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Xerces-C | 3.0.0 to 3.2.2 |
| Apache Software Foundation | Apache Xerces-C | 3.0.0 |
Timeline
- Dec 18, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 15, 2024 PoC Published (4 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 6, 2026 Security Advisory (9 in total, the first dated here)
- Sep 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1311
vulnetix vdb fixes CVE-2018-1311
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1311/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [xerces-c-dev] 20200110 [xerces-c] 06/13: Add CVE-2018-1311 advisory and web site note. mailing-list
- RHSA-2020:0704 vendor-advisory
- RHSA-2020:0702 vendor-advisory
- [debian-lts-announce] 20201217 [SECURITY] [DLA 2498-1] xerces-c security update mailing-list
- DSA-4814 vendor-advisory
- [xerces-c-users] 20210528 Security vulnerability - CVE-2018-1311 mailing-list
- [xerces-c-users] 20210528 RE: Security vulnerability - CVE-2018-1311 mailing-list
- [xerces-c-users] 20210528 Re: Security vulnerability - CVE-2018-1311 mailing-list
- FEDORA-2023-52ba628e03 vendor-advisory
- FEDORA-2023-817ecc703f vendor-advisory
- [debian-lts-announce] 20231231 [SECURITY] [DLA 3704-1] xerces-c security update mailing-list
- [oss-security] 20240216 CVE-2024-23807: Apache Xerces C++: Use-after-free on external DTD scan mailing-list
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/ url