CVEBrief

Home / Libexpat Project / Libexpat / CVE-2018-20843

CVE-2018-20843: is it exploited, and which versions of Libexpat Project Libexpat are affected and fixed?

CVE-2018-20843 is a XML external entity (XXE) vulnerability in Libexpat Project Libexpat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: libexpat before 2.2.7, ubuntu linux 12.04, ubuntu linux 14.04 and 16 more (NVD). Fixed in 2.2.7 and 8.15.0 (NVD). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:21 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 09:38 UTC
Affected
libexpat before 2.2.7, ubuntu linux 12.04, ubuntu linux 14.04 and 16 more
NVD
Fixed in
2.2.7 and 8.15.0
NVD
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
7.11% in 30 days
higher than 94% of CVEs; FIRST, December 2, 2026

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).

From the CVE record by mitre, last updated October 14, 2026, 06:30 UTC.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
libexpat projectlibexpatbefore 2.2.7application
canonicalubuntu linux12.04operating system
canonicalubuntu linux14.04operating system
canonicalubuntu linux16.04operating system
canonicalubuntu linux18.04operating system
canonicalubuntu linux18.10operating system
canonicalubuntu linux19.04operating system
debiandebian linux8.0operating system
debiandebian linux9.0operating system
fedoraprojectfedora29operating system
fedoraprojectfedora30operating system
opensuseleap15.0operating system
opensuseleap15.1operating system
oraclehospitality res 3700from 5.7 through 5.7.6application
oraclehttp server12.1.3.0application
oraclehttp server12.2.1.4.0application
oracleoutside in technology8.5.4application
oracleoutside in technology8.5.5application
tenablenessusbefore 8.15.0application

NVD analysis (status Modified), last modified October 14, 2026, 07:16 UTC.

How severe is CVE-2018-20843?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
High 7.8CVSS 2.0AV:N/AC:L/Au:N/C:N/I:N/A:CNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2018-20843 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 30, 2025)
EPSS
7.11% probability of exploitation activity in the next 30 days, percentile 94.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 24, 2019
Published
June 24, 2019, 16:06 UTC
CVE record updated
October 14, 2026, 06:30 UTC by mitre
NVD
Modified, last modified October 14, 2026, 07:16 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:21 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Libexpat?

Every CVE in Libexpat

Questions about CVE-2018-20843

Is CVE-2018-20843 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 7.11% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Libexpat Project Libexpat are affected by CVE-2018-20843?

libexpat before 2.2.7, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 16.04, ubuntu linux 18.04, ubuntu linux 18.10 and 13 more, per the NVD. The tables above give every range the sources list.

Which version fixes CVE-2018-20843?

2.2.7 and 8.15.0, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2018-20843?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2018-20843?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.