Summary
Expat is a C library for parsing XML documents. The mingw-expat packages provide a port of the Expat library for MinGW.
Security Fix(es):
* libexpat: denial of service via crafted XML input (CVE-2026-45186)
* expat: Expat: Denial of Service via quadratic complexity in attribute processing (CVE-2026-66046)
* expat: Expat: Denial of Service via XML external entity parsing (CVE-2026-76641)
* expat: Expat: XML Injection via Malformed UTF-16 Input (CVE-2026-93990)
* expat: expat: Information disclosure via heap buffer over-read in XML_ParseBuffer (CVE-2026-77214)
* expat: expat: Denial of Service via delayed entity amplification detection (CVE-2026-115506)
* expat: expat: Denial of Service via NULL pointer dereference in external entity parsing (CVE-2026-117610)
* expat: expat: Denial of Service via integer overflow during XML attribute parsing (CVE-2026-118370)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 8 | mingw32-expat | 0:2.5.0-7.el8_10 |
| Rocky Linux · 8 | mingw32-expat-debuginfo | 0:2.5.0-7.el8_10 |
| Rocky Linux · 8 | mingw64-expat | 0:2.5.0-7.el8_10 |
| Rocky Linux · 8 | mingw64-expat-debuginfo | 0:2.5.0-7.el8_10 |
Vulnerabilities 8
-
High 8.2
libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer
libexpat before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, …
-
High 7.5
libexpat through 2.9.0 Denial of Service via Billion Laughs Detection Delay
libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nes…
-
High 7.5
Expat Denial of Service via storeAtts() Quadratic Complexity
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 elementTy…
-
High 7.5
Expat Out-of-Bounds Read via dtdCopy
Expat through 2.8.3 contains an out-of-bounds read vulnerability that allows attackers to trigger memory corruption by processing XML with external entity parsers created via XML_ExternalEntityParserCreate. A struct size mismatch between ELEMENT_TYPE members …
-
High 7.5
Expat before 2.8.5 Malformed UTF-16 Acceptance via Unchecked Surrogate
Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted. Attackers can supply UTF-16 encoded XML containing lone high surrogates that consume the following c…
-
Medium 5.9
libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser
libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empty non-final first pars…
-
Medium 5.9
libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carr…
-
Low 2.9
In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service vi…
References
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2468575
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2517901
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2520649
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2538967
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2547476
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2559312
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2562538
-
report
https://bugzilla.redhat.com/show_bug.cgi?id=2562544
-
advisory
https://access.redhat.com/errata/RHSA-2026:102193