Technical impact
This vulnerability causes an out-of-bounds read inside the function storeSelfEntityValue(). The flaw occurs when narrow string literals are incorrectly interpreted as wide strings during parsing, allowing the attacker to read memory beyond allocated buffers. The data exposed may contain sensitive application state or system secrets, and the vulnerability can also lead to application crashes.
Affected Systems
The issue affects libexpat libraries from version 2.6.0 through 2.11.0 when built with the configuration options XML_GE=0 and XML_UNICODE enabled. Many applications that incorporate libexpat for XML processing, from utilities to web servers, are potentially impacted by this build scenario.
Risk and Exploitability
With a CVSS score of 6.3, the risk is moderate. EPSS information is not available, and the flaw is not listed in the CISA KEV catalog, suggesting that it has not yet been widely exploited. The likely attack vector involves providing a specially crafted XML document containing a DOCTYPE declaration that defines a general entity. If an attacker can influence the XML input, they may trigger the out-of-bounds read locally or remotely, depending on how the application processes incoming XML.