AZL-116072: CVE-2026-134703 affecting package python3 3.12.16-2
libexpat through 2.10.0 contains an improper Unicode handling vulnerability in DEFINEUTF16TOUTF16 conversion functions in xmltok.c that can split valid surrogate pairs when output space is limited. In XMLUNICODE builds parsing non-native byte order UTF-16 input, attackers can supply crafted documents that deliver lone high surrogates to character data and default handlers.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
The affected application must use an XML_UNICODE build of libexpat and parse UTF-16 XML input in non-native byte order. An attacker must be able to supply a crafted XML document under those conditions.
What observable behavior indicates exposure to the flaw?
A crafted document can cause valid UTF-16 surrogate pairs to be split when output space is limited, delivering lone high surrogates to character-data and default handlers. Exposure can be assessed by identifying XML_UNICODE builds that accept non-native-byte-order UTF-16 input.
Is a default configuration known to be affected?
The available information does not state whether the affected build and input conditions are enabled by default.