LI
Product
libexpat
by libexpat project · last CVE Aug 20, 2026
65
CVEs
0
On KEV
9.8
Max CVSS
0
New 30D
Severity mix
Critical 10High 24Medium 22Low 2
Watch

Add libexpat to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2022-22825
8.8
3%
Jan 8
lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow
Affected: before 2.4.3
CVE-2022-22826
8.8
3%
Jan 8
nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow
Affected: before 2.4.3
CVE-2022-22827
8.8
3%
Jan 8
storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow
Affected: before 2.4.3
CVE-2021-45960
8.8
5%
Jan 1
In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes,…
Affected: before 2.4.3
CVE-2022-40674
8.1
2%
Sep 14
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c
Affected: before 2.4.9
CVE-2016-4472
8.1
12%
Jun 30
The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service (crash) or possibly execute…
Affected: through 2.1.1
CVE-2026-76957
7.8
0%
Aug 20
libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks
Affected: before 2.8.4
CVE-2026-25210
7.8
0%
Jan 30
In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation
Affected: before 2.7.4
CVE-2021-46143
7.8
4%
Jan 6
In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize
Affected: before 2.4.3
CVE-2017-11742
7.8
0%
Jul 30
The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in…
Affected: 2.2.1; 2.2.2
CVE-2026-76956
7.5
0%
Aug 20
In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks,…
Affected: 2.8.2 before 2.8.4
CVE-2026-66046
7.5
1%
Aug 18
Expat Denial of Service via storeAtts() Quadratic Complexity
Affected: through 2.8.3
CVE-2026-45186
7.5
0%
May 10
In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input
Affected: before 2.8.1
CVE-2025-59375
7.5
1%
Sep 15
libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing
Affected: before 2.7.2
CVE-2024-45490
7.5
2%
Aug 30
An issue was discovered in libexpat before 2.6.3
Affected: before 2.6.3
CVE-2024-28757
7.5
2%
Mar 10
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate)
Affected: before 2.6.2
CVE-2023-52425
7.5
2%
Feb 4
libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large token for which multiple buffer fills are…
Affected: through 2.5.0
CVE-2022-43680
7.5
3%
Oct 24
In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations
Affected: through 2.4.9
CVE-2022-25314
7.5
5%
Feb 18
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString
Affected: before 2.4.5
CVE-2022-23990
7.5
5%
Jan 26
Expat (aka libexpat) before 2.4.4 has an integer overflow in the doProlog function
Affected: before 2.4.4
CVE-2019-15903
7.5
7%
Sep 4
In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or…
Affected: before 2.2.8
CVE-2018-20843
7.5
7%
Jun 24
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…
Affected: before 2.2.7
CVE-2017-9233
7.5
9%
Jul 25
XML External Entity vulnerability in libexpat 2.2.0 and earlier (Expat XML Parser Library) allows attackers to put the parser in an infinite loop using a malformed external entity…
Affected: through 2.2.0
CVE-2016-5300
7.5
7%
Jun 16
The XML parser in Expat does not use sufficient entropy for hash initialization, which allows context-dependent attackers to cause a denial of service (CPU consumption) via…
Affected: before 2.2.0
Showing 24