GHSA-76gj-4ccc-qrh6MediumCVSS 4.8
libexpat 2.6.0 through 2.11.0 built with XML_GE=0 and XML_UNICODE contains an out-of-bounds read...
🔗 CVE IDs covered (1)
📋 Description
libexpat 2.6.0 through 2.11.0 built with XML_GE=0 and XML_UNICODE 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137951
- https://github.com/libexpat/libexpat/pull/1534
- https://github.com/libexpat/libexpat/blob/bbdb35e85b68284cb20ad8876c56e9b80175babb/expat/lib/xmlparse.c#L8042-L8054
- https://www.vulncheck.com/advisories/libexpat-2.6.0-through-2.11.0-out-of-bounds-read-via-storeselfentityvalue
- https://github.com/advisories/GHSA-76gj-4ccc-qrh6