CVE-2018-1311
CVE-2018-1311 is a use-after-free in Apache Xerces-c\+\+ (CVSS 8.1, High).
Exploitation likely. EPSS gives it a 9.5% chance of exploitation in the next 30 days. Fixed in 21.4.0.0.0.
No public exploit knownFix21.4.0.0.0Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.153878
What to do
Find your product and version, then upgrade to the build on the right.
- Apache Software Foundation Apache Xerces-CAffected: 3.0.0 to 3.2.2Upgrade to: not statedStated by: CVE record
- Oracle GoldengateAffected: < 21.4.0.0.0Upgrade to: 21.4.0.0.0Stated by: NVD
- Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
- RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
- RusBITech-Astra Astra Linux Special Edition dlya ElbrusAffected: 8.1 «Leningrad»Upgrade to: not statedStated by: BDU
Versions as the sources state them. 3 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
9.5% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 2381 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 9 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 8.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- openwall.com/lists/oss-security/2024/02/16/1
- access.redhat.com/errata/RHSA-2020:0702
- access.redhat.com/errata/RHSA-2020:0704
And 20 more references. See all after sign-in
Questions about CVE-2018-1311
- Is CVE-2018-1311 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 9.5%.
- Which versions are affected by CVE-2018-1311?
- Apache Xerces-C: 3.0.0 to 3.2.2. Goldengate: < 21.4.0.0.0. Debian GNU/Linux: 9. 5 more products are listed in the record.
- How do I fix or mitigate CVE-2018-1311?
- Upgrade to 21.4.0.0.0 or later. The advisory is on oracle.com.
Last updated
Related articles
All articles- The 'local' AD FS bug that forges your cloud logins: CVE-2026-56155, exploited in the wild
- Cisco's SD-WAN Bug Was a Real Zero-Day for Months. Talos Just Found the Malware That Stole Encryption Keys With It.
- September's Record Patch Tuesday Had Two Real Zero-Days. ZDI Ranked an Unexploited Exchange Bug Above Both.
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Apache Xerces-C, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI