LI
Product
libexpat
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.
| CVE | CVSS | Published | Summary · affected versions |
|---|---|---|---|
| CVE-2024-45492 | 9.8 | Aug 30 | An issue was discovered in libexpat before 2.6.3 Affected: before 2.6.3 |
| CVE-2024-45491 | 9.8 | Aug 30 | An issue was discovered in libexpat before 2.6.3 Affected: before 2.6.3 |
| CVE-2022-25315 | 9.8 | Feb 18 | In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames Affected: before 2.4.5 |
| CVE-2022-25235 | 9.8 | Feb 16 | xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context Affected: before 2.4.5 |
| CVE-2022-25236 | 9.8 | Feb 16 | xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs Affected: before 2.4.5 |
| CVE-2022-23852 | 9.8 | Jan 24 | Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES Affected: before 2.4.4 |
| CVE-2022-22822 | 9.8 | Jan 8 | addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow Affected: before 2.4.3 |
| CVE-2022-22823 | 9.8 | Jan 8 | build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow Affected: before 2.4.3 |
| CVE-2022-22824 | 9.8 | Jan 8 | defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow Affected: before 2.4.3 |
| CVE-2016-0718 | 9.8 | May 26 | Expat allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a malformed input document, which triggers a buffer overflow Affected: before 2.2.0 |
| CVE-2022-22825 | 8.8 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | Aug 18 | Expat Denial of Service via storeAtts() Quadratic Complexity Affected: through 2.8.3 |
| CVE-2026-45186 | 7.5 | 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 | 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 | Aug 30 | An issue was discovered in libexpat before 2.6.3 Affected: before 2.6.3 |
| CVE-2024-28757 | 7.5 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 |
| CVE-2026-56411 | 6.9 | Jun 21 | xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations Affected: before 2.8.2 |
| CVE-2026-56410 | 6.9 | Jun 21 | xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId Affected: before 2.8.2 |
| CVE-2026-56408 | 6.9 | Jun 21 | libexpat before 2.8.2 has an integer overflow in copyString Affected: before 2.8.2 |
| CVE-2026-56407 | 6.9 | Jun 21 | libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen Affected: before 2.8.2 |
| CVE-2026-56406 | 6.9 | Jun 21 | libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse Affected: before 2.8.2 |
| CVE-2026-56405 | 6.9 | Jun 21 | libexpat before 2.8.2 has an integer overflow in getAttributeId Affected: before 2.8.2 |
| CVE-2026-56404 | 6.9 | Jun 21 | libexpat before 2.8.2 has an integer overflow in addBinding Affected: before 2.8.2 |
| CVE-2026-56403 | 6.9 | Jun 21 | libexpat before 2.8.2 has an integer overflow in storeAtts Affected: before 2.8.2 |
| CVE-2026-56132 | 6.9 | Jun 19 | In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure… Affected: before 2.8.2 |
| CVE-2026-56409 | 6.5 | Jun 21 | xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used Affected: before 2.8.2 |
| CVE-2022-25313 | 6.5 | Feb 18 | In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element Affected: before 2.4.5 |
| CVE-2026-72522 | 6.2 | Aug 10 | libexpat before 2.8.3 has an out-of-bounds read and resultant infinite loop because low surrogates are treated the same as high surrogates during Unicode processing in the… Affected: before 2.8.3 |
| CVE-2026-56412 | 5.9 | Jun 21 | libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy… Affected: before 2.8.2 |
| CVE-2026-50219 | 5.9 | Jun 4 | libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of… Affected: before 2.8.2 |
| CVE-2024-50602 | 5.9 | Oct 27 | An issue was discovered in libexpat before 2.6.4 Affected: before 2.6.4 |
| CVE-2012-6702 | 5.9 | Jun 16 | Expat, when used in a parser that has not called XML_SetHashSalt or passed it a seed of 0, makes it easier for context-dependent attackers to defeat cryptographic protection… Affected: before 2.2.0 |
