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…
- 8.1HighCVSS base score
- 9.5%Exploitation in 30 daysEPSS · top 4.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 2 years later
· 2 years later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 9.5% · top 4.5% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
Apache Software Foundation · Apache Xerces-C
- affected 3.0.0 to 3.2.2
References
15
- [xerces-c-dev] 20200110 [xerces-c] 06/13: Add CVE-2018-1311 advisory and web site note. (opens in a new tab)mailing-listx_transferred
- RHSA-2020:0704 (opens in a new tab)vendor-advisoryx_transferred
- RHSA-2020:0702 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20201217 [SECURITY] [DLA 2498-1] xerces-c security update (opens in a new tab)mailing-listx_transferred
- DSA-4814 (opens in a new tab)vendor-advisoryx_transferred
- [xerces-c-users] 20210528 Security vulnerability - CVE-2018-1311 (opens in a new tab)mailing-listx_transferred
- [xerces-c-users] 20210528 RE: Security vulnerability - CVE-2018-1311 (opens in a new tab)mailing-listx_transferred
- [xerces-c-users] 20210528 Re: Security vulnerability - CVE-2018-1311 (opens in a new tab)mailing-listx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_transferred
- https://marc.info/?l=xerces-c-users&m=157653840106914&w=2 (opens in a new tab)x_transferred
- FEDORA-2023-52ba628e03 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-817ecc703f (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20231231 [SECURITY] [DLA 3704-1] xerces-c security update (opens in a new tab)mailing-listx_transferred
- [oss-security] 20240216 CVE-2024-23807: Apache Xerces C++: Use-after-free on external DTD scan (opens in a new tab)mailing-listx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AJYZUBGPVWJ7LEHRCMB5XVADQBNGURXD/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-11912 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-1311)Record last updated .