CVE-2026-124317 PUBLISHED

libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16

Assigner: VulnCheck
Reserved: 07.11.2026 Published: 07.11.2026 Updated: 07.11.2026

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

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 0 to 2.10.0 (incl.)

Credits

  • Oğuzhan Demirbaş finder
  • Sebastian Pipping remediation developer

References

Problem Types

  • Buffer Over-read CWE