CVE-2026-137951
libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValue
CVSS Score
4.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | libexpat |
| Product | libexpat |
| Published | Nov 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for libexpat libexpat
Be the first to know when new medium vulnerabilities affecting libexpat libexpat are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low
Affected Versions
libexpat / libexpat
2.6.0 โค 2.11.0
References
github.com: https://github.com/libexpat/libexpat/pull/1534 github.com: https://github.com/libexpat/libexpat/blob/bbdb35e85b68284cb20ad8876c56e9b80175babb/expat/lib/xmlparse.c#L8042-L8054 vulncheck.com: https://www.vulncheck.com/advisories/libexpat-2.6.0-through-2.11.0-out-of-bounds-read-via-storeselfentityvalue
Credits
hyc-alt