CVE-2026-137951
libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValue
Medium · 6.3
- CVSS
- 6.3
- EPSS
- —
- Published
- 2026-11-27
- Age
- 1d old
- Modified
- 2026-11-27
- Product
- libexpat libexpat
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
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.
Sources
References
- https://github.com/libexpat/libexpat/pull/1534 issue-tracking
- https://github.com/libexpat/libexpat/blob/bbdb35e85b68284cb20ad8876c56e9b80175babb/expat/lib/xmlparse.c#L8042-L8054 technical-description
- https://www.vulncheck.com/advisories/libexpat-2.6.0-through-2.11.0-out-of-bounds-read-via-storeselfentityvalue third-party-advisory