CVE-2026-137951 PUBLISHED

libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValue

Assigner: VulnCheck
Reserved: 27.11.2026 Published: 27.11.2026 Updated: 27.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.3

Product Status

Vendor libexpat
Product libexpat
Versions Default: unaffected
  • affected from 2.6.0 to 2.11.0 (incl.)

Credits

  • hyc-alt finder

References

Problem Types

  • Out-of-bounds Read CWE