Improper Unicode Handling in libexpat Affects Multiple Versions
CVE-2026-134703
6.3MEDIUM
What is CVE-2026-134703?
libexpat versions up to 2.10.0 are affected by a vulnerability that compromises the handling of UTF-16 encoding. Specifically, the issue arises within the DEFINE_UTF16_TO_UTF16 conversion functions in xmltok.c, where valid surrogate pairs can be disrupted due to limited output space. This enables attackers to exploit the vulnerability by crafting deceptive documents that introduce lone high surrogates into the character data and standard processing handlers, facilitating potential malicious processing of XML data.
Affected Version(s)
libexpat 0 <= 2.10.0
