CVE-2026-134703
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-134703 NameCVE-2026-134703 Descriptionlibexpat 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…
CVE-2026-134703
| Name | CVE-2026-134703 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1154821 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| expat (PTS) | bookworm | 2.5.0-1+deb12u2 | vulnerable |
| bookworm (security) | 2.5.0-1+deb12u5 | vulnerable | |
| trixie (security), trixie | 2.9.0-1~deb13u1 | vulnerable | |
| forky | 2.10.0-1 | vulnerable | |
| sid | 2.11.0-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| expat | source | (unstable) | 2.11.0-1 | 1154821 |
Notes
https://github.com/libexpat/libexpat/pull/1519
Apply commands
https://github.com/libexpat/libexpat/pull/1519
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | expat |
Affected | — |
| sid | expat |
Fixed | 2.11.0-1 |
| forky | expat |
Fixed | 2.11.0-1 |
| bookworm | expat |
Affected | — |
Alpine Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| v3.24 | expat |
Fixed | 2.11.0-r0 |
| v3.23 | expat |
Fixed | 2.11.0-r0 |
| v3.22 | expat |
Fixed | 2.11.0-r0 |
| v3.21 | expat |
Fixed | 2.11.0-r0 |
Ubuntu Fixed 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| resolute | expat libexpat1 libexpat1-dev |
Fixed | 2.7.4-1ubuntu0.3 |
| noble | expat libexpat1 libexpat1-dev |
Fixed | 2.6.1-2ubuntu0.7 |
| jammy | expat libexpat1 libexpat1-dev |
Fixed | 2.4.7-1ubuntu0.10 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libexpat | libexpat | {"endIncluding":"2.10.0"} | |
References
- https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/lib/xmltok.c
- https://github.com/libexpat/libexpat/commit/702389c818cb402f2423fa998fa11907d621959f
- https://github.com/libexpat/libexpat/pull/1519
- https://www.vulncheck.com/advisories/libexpat-through-2.10.0-isolated-high-surrogate-via-utf-16-conversion
- https://security-tracker.debian.org/tracker/CVE-2026-134703
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-134703
- https://www.suse.com/security/cve/CVE-2026-134703.html
- https://security.alpinelinux.org/vuln/CVE-2026-134703
- https://pkgs.alpinelinux.org/packages?name=expat
- https://ubuntu.com/security/notices/USN-9196-1
CWEs
CWE-176
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.