Skip to main content
No exploitation reportedFix available

CVE-2018-20843

No exploitation reported by the sources we read.

  • Published2019-06-24
  • WeaknessCWE-611

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for denial-of-service attacks).

Timeline

dates in UTC
  1. 2019-06-2417:15CVE publishedNVD

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
12.4= 12.04no fix published
14.4= 14.04no fix published
16.4= 16.04no fix published
18.4= 18.04no fix published
18.10= 18.10no fix published
19.4= 19.04no fix published
Debian debian linux
BranchAffectedFixed in
8.0= 8.0no fix published
9.0= 9.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
29.x= 29no fix published
30.x= 30no fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cadaverUbuntu:26.10all versions · no fixed version listedand 4 other packages
  • cadaverUbuntu:26.04:LTSall versions · no fixed version listedand 3 other packages
  • cadaverUbuntu:25.10all versions · no fixed version listedand 4 other packages
  • cadaverUbuntu:24.04:LTSall versions · no fixed version listedand 1 other package
  • cadaverUbuntu:22.04:LTSall versions · no fixed version listedand 1 other package
  • cadaverUbuntu:20.04:LTSall versions · no fixed version listedand 1 other package
  • cadaverUbuntu:16.04:LTSall versions · no fixed version listedand 2 other packages
  • coin3Ubuntu:Pro:18.04:LTSall versions · no fixed version listedand 2 other packages

87 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-20843 Red Hat Product Security201 products fixed · 17 known affected

    expat: large number of colons in input makes parser consume high amount of resources, leading to DoS

    expat.src as a component of Red Hat Enterprise Linux 5 · xmlrpc-c.src as a component of Red Hat Enterprise Linux 5 · compat-expat1 as a component of Red Hat Enterprise Linux 6 · +14 more

  • RHSA-2025:22871 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: expat security update

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

  • RHSA-2021:0949 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat OpenShift Do openshift/odo-init-image 1.1.3 security update

  • RHSA-2020:4484 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: expat security update

4 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:22871 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  3. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  4. Vendor fix Red Hat Product Security RHSA-2021:0949 · 1 productDownload and install a new CLI binary by following the instructions linked from the References section.
  5. Vendor fix Red Hat Product Security RHSA-2020:4484 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, applications using the Expat library must be restarted for the update to take effect.
  6. Vendor fix Red Hat Product Security RHSA-2020:2646 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link for the update. You must be logged in to download the update.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2019-06-24
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-hj5j-c8qp-mgmv

Frequently asked questions

What is CVE-2018-20843?

In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a high amount of RAM and CPU resources while processing (enough to be usable for denial-of-service attacks).

Is CVE-2018-20843 actively exploited?

Active exploitation of CVE-2018-20843 has not been confirmed. Its EPSS score was 7.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-20843?

CVE-2018-20843 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running expat? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record