CVE-2026-134703 PUBLISHED

libexpat through 2.10.0 Isolated High Surrogate via UTF-16 Conversion

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.3

Product Status

Vendor libexpat
Product libexpat
Versions Default: unaffected
  • affected from 0 to 2.10.0 (incl.)

Credits

  • Cameron Sparks finder

References

Problem Types

  • Improper Handling of Unicode Encoding CWE