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.
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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libexpat project | libexpat | before 2.2.7 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 18.10 | operating system |
| canonical | ubuntu linux | 19.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| fedoraproject | fedora | 29 | operating system |
| fedoraproject | fedora | 30 | operating system |
| opensuse | leap | 15.0 | operating system |
| opensuse | leap | 15.1 | operating system |
| oracle | hospitality res 3700 | from 5.7 through 5.7.6 | application |
| oracle | http server | 12.1.3.0 | application |
| oracle | http server | 12.2.1.4.0 | application |
| oracle | outside in technology | 8.5.4 | application |
| oracle | outside in technology | 8.5.5 | application |
| tenable | nessus | before 8.15.0 | application |
NVD analysis (status Modified), last modified October 14, 2026, 07:16 UTC.
How severe is CVE-2018-20843?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| High 7.8 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:C | NVD |
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?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- USN-4040-1 vendor-advisory, x_refsource_UBUNTU
- USN-4040-2 vendor-advisory, x_refsource_UBUNTU
- DSA-4472 vendor-advisory, x_refsource_DEBIAN
- 20190628 [SECURITY] [DSA 4472-1] expat security update mailing-list, x_refsource_BUGTRAQ
- [debian-lts-announce] 20190629 [SECURITY] [DLA 1839-1] expat security update mailing-list, x_refsource_MLIST
- FEDORA-2019-18868e1715 vendor-advisory, x_refsource_FEDORA
- FEDORA-2019-139fcda84d vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2019:1777 vendor-advisory, x_refsource_SUSE
- GLSA-201911-08 vendor-advisory, x_refsource_GENTOO
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
- https://github.com/libexpat/libexpat/issues/186 x_refsource_MISC
- https://github.com/libexpat/libexpat/pull/262 x_refsource_MISC
- https://github.com/libexpat/libexpat/pull/262/commits/11f8838bf99ea0a6f0b76f9760c43704d00c4ff6 x_refsource_MISC
- https://github.com/libexpat/libexpat/blob/R_2_2_7/expat/Changes x_refsource_MISC
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5226 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20190703-0001/ x_refsource_CONFIRM
- https://support.f5.com/csp/article/K51011533 x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.tenable.com/security/tns-2021-11 x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
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?
- Nov 13, 2026CVE-2026-128241 libexpat project libexpat: link following (a symlink lets an attacker reach other files)
- Aug 20, 2026CVE-2026-76957 libexpat project libexpat: use after free
- Aug 20, 2026CVE-2026-76956 libexpat project libexpat: unexpected Status Code or Return Value
- Aug 18, 2026CVE-2026-66046 libexpat project libexpat: denial of service through slow algorithm
- Aug 10, 2026CVE-2026-72522 libexpat project libexpat: out-of-bounds read
- Jun 21, 2026CVE-2026-56412 libexpat project libexpat: use after free
- Jun 21, 2026CVE-2026-56411 libexpat project libexpat: integer overflow
- Jun 21, 2026CVE-2026-56410 libexpat project libexpat: integer overflow
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.