{"id":"CVE-2026-137951","summary":"libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValue","details":"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.","modified":"2026-11-27T17:00:16.267272793Z","published":"2026-11-27T15:22:32.977Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137951.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-125"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137951.json"},{"type":"PACKAGE","url":"https://github.com/libexpat/libexpat"},{"type":"ARTICLE","url":"https://github.com/libexpat/libexpat/blob/bbdb35e85b68284cb20ad8876c56e9b80175babb/expat/lib/xmlparse.c#L8042-L8054"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/pull/1534"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137951"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libexpat-2.6.0-through-2.11.0-out-of-bounds-read-via-storeselfentityvalue"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexpat/libexpat","events":[{"introduced":"849da3e3fe727fccef5e96ef35482d66447f06a2"},{"last_affected":"bbdb35e85b68284cb20ad8876c56e9b80175babb"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.6.0"},{"last_affected":"2.11.0"}],"source":"AFFECTED_FIELD"}]}}],"versions":["R_2_11_0","R_2_10_0","R_2_9_0","R_2_8_5","R_2_8_4","R_2_8_3","R_2_8_2","R_2_8_1","R_2_8_0","R_2_7_5","R_2_7_4","R_2_7_3","R_2_7_2","R_2_7_1","R_2_7_0","R_2_6_4","R_2_6_3","R_2_6_2","R_2_6_1","R_2_6_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137951.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}