Home › CVE › Vulnerabilities
CVE-2026-134703 — libexpat
Summary
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.
Severity breakdown
Medium · 6.3
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- low on integrity, none on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-176: Improper Handling of Unicode Encoding
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| libexpat | ≤ 2.10.0 | — |
References by type
Patches and fixed releases
- github.com/libexpat/libexpat/commit/702389c818cb402f2423fa998fa11907d62…
- github.com/libexpat/libexpat/pull/1519
Other references
Affected
- libexpat
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-134703?
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. Weakness type: Improper Handling of Unicode Encoding (CWE-176).
How severe is CVE-2026-134703?
CVE-2026-134703 has a CVSS 4.0 base score of 6.3 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-134703 being exploited?
Not as far as is known: CVE-2026-134703 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-134703?
libexpat ≤ 2.10.0.
How do I fix CVE-2026-134703?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.