Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-124317

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

libexpat libexpat

Default version status: unaffected

  • 0 to ≤ 2.10.0affected
pkg:github/libexpat/libexpat

References