Out-of-Bounds Read in libexpat Affects Various Applications
CVE-2026-124317
6.3MEDIUM
What is CVE-2026-124317?
The libexpat library, utilized in various applications, is susceptible to an out-of-bounds read vulnerability affecting the functions unknown_toUtf8() and unknown_toUtf16() in xmltok.c. This vulnerability arises when the library processes documents that include truncated multibyte sequences. Attackers could exploit this by supplying such documents, leading to memory leakage or potential crashes of the applications utilizing the library. Proper handling of application-registered unknown encodings is crucial to prevent this type of breach.
Affected Version(s)
libexpat 0 <= 2.10.0
