libexpat 2.11.0 fixes three vulnerabilities
One fix stops an overread that requires XML_SetUnknownEncodingHandler; another concerns xmlwf.
Improper Unicode handling in libexpat through 2.10.0
libexpat through 2.10.0 mishandles Unicode in DEFINE_UTF16_TO_UTF16 conversions in xmltok.c, splitting valid surrogate pairs when output space is limited. In XML_UNICODE builds that parse non-native byte-order UTF-16, an attacker can supply a crafted document with no authentication or user interaction. Lone high surrogates are then delivered to character-data and default handlers. Only those builds are affected.
What to do: Upgrade libexpat to 2.11.0, which fixes this issue.
| Product | Affected | Fixed in |
|---|---|---|
| libexpat | through 2.10.0 | 2.11.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
libexpat through 2.10.0 contains an improper Unicode handling vulnerability in DEFINE_UTF16_TO_UTF16 conversion functions in xmltok.c that can split valid surrogate pairs when output space is limited. In XML_UNICODE 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.
One fix stops an overread that requires XML_SetUnknownEncodingHandler; another concerns xmlwf.
Today 1.4K readers · 1.8K views · 221 reads · all time 220K views