AZL-116345: CVE-2026-137951 affecting package expat 2.9.0-1
libexpat 2.6.0 through 2.11.0 built with XMLGE=0 and XMLUNICODE contains an out-of-bounds read in storeSelfEntityValue() because narrow string literals are treated as wide strings. Attackers can supply an XML document whose DOCTYPE declares a general entity to expose adjacent static memory through the entity value or crash the parser.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using libexpat versions 2.6.0 through 2.11.0 are affected only when it was built with both XML_GE=0 and XML_UNICODE. Systems that do not use that build configuration are not described as affected.
What does an attacker need to exploit it?
An attacker needs to be able to supply an XML document to the vulnerable parser. The document must contain a DOCTYPE declaration defining a general entity.
What is the likely impact of successful exploitation?
The malformed entity can cause an out-of-bounds read in storeSelfEntityValue(). This may expose adjacent static memory through the entity value or crash the parser.