REDHAT-BUG-2520649: High severity Expat Expat vulnerability
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 XMLExternalEntityParserCreate. A struct size mismatch between ELEMENTTYPE members causes storeAtts to read the attIndex member past allocated memory boundaries, resulting in failure to normalize whitespace in non-CDATA attributes or a wild pointer dereference causing a segfault. This vulnerability was introduced by the fix for CVE-2026-66046.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using Expat through version 2.8.3 are exposed when they process XML using external entity parsers created with XML_ExternalEntityParserCreate.
What can happen when the vulnerable code path is reached?
Processing crafted XML can cause storeAtts to read attIndex beyond allocated memory. This can prevent whitespace normalization for non-CDATA attributes or cause a wild-pointer dereference and segmentation fault.
How was this vulnerability introduced?
It was introduced by the fix for CVE-2026-66046.