REDHAT-BUG-2520649: High severity Expat Expat vulnerability

Published Aug 20, 2026
·
Updated

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

1 affected component
Expat Expat<=2.8.3

Event History

Aug 20, 2026
Data Sourced
via Red Hat·05:57 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

How was this vulnerability introduced?

It was introduced by the fix for CVE-2026-66046.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203