Vulnerabilities (CVE)

Filtered by vendor Libexpat Project Subscribe
Filtered by product Libexpat
Total 64 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2026-56131 1 Libexpat Project 1 Libexpat 2026-10-26 N/A 4.9 MEDIUM
libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
CVE-2026-56132 1 Libexpat Project 1 Libexpat 2026-10-26 N/A 6.9 MEDIUM
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 sharing across parsers.
CVE-2026-56410 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
CVE-2026-56408 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
libexpat before 2.8.2 has an integer overflow in copyString.
CVE-2026-56404 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
libexpat before 2.8.2 has an integer overflow in addBinding.
CVE-2026-56412 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 4.9 MEDIUM
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 violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
CVE-2026-56409 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.5 MEDIUM
xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
CVE-2026-56405 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
libexpat before 2.8.2 has an integer overflow in getAttributeId.
CVE-2026-56411 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
CVE-2026-56407 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
CVE-2026-56406 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
CVE-2026-56403 1 Libexpat Project 1 Libexpat 2026-10-25 N/A 6.9 MEDIUM
libexpat before 2.8.2 has an integer overflow in storeAtts.
CVE-2026-66046 1 Libexpat Project 1 Libexpat 2026-10-22 N/A 7.5 HIGH
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.
CVE-2025-59375 1 Libexpat Project 1 Libexpat 2026-10-19 N/A 7.5 HIGH
libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.
CVE-2025-66382 1 Libexpat Project 1 Libexpat 2026-10-19 N/A 2.9 LOW
In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
CVE-2024-50602 3 Debian, Libexpat Project, Netapp 17 Debian Linux, Libexpat, Active Iq Unified Manager and 14 more 2026-10-15 N/A 5.9 MEDIUM
An issue was discovered in libexpat before 2.6.4. There is a crash within the XML_ResumeParser function because XML_StopParser can stop/suspend an unstarted parser.
CVE-2024-28757 3 Fedoraproject, Libexpat Project, Netapp 21 Fedora, Libexpat, Active Iq Unified Manager and 18 more 2026-10-15 N/A 7.5 HIGH
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
CVE-2023-52426 1 Libexpat Project 1 Libexpat 2026-10-15 N/A 5.5 MEDIUM
libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.
CVE-2023-52425 1 Libexpat Project 1 Libexpat 2026-10-15 N/A 7.5 HIGH
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 needed.
CVE-2022-43680 4 Debian, Fedoraproject, Libexpat Project and 1 more 18 Debian Linux, Fedora, Libexpat and 15 more 2026-10-14 N/A 7.5 HIGH
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.