Vulnerability DatabaseCVE-2026-134703

CVE-2026-134703: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-134703 is an improper Unicode handling vulnerability in libexpat (the Expat XML parsing library) through version 2.10.0. The flaw resides in the DEFINE_UTF16_TO_UTF16 conversion functions in xmltok.c, where valid UTF-16 surrogate pairs can be split when output buffer space is limited, resulting in lone high surrogates being delivered to application character data and default handlers. It affects all libexpat releases up to and including 2.10.0 and was disclosed on November 22, 2026. The vulnerability carries a CVSS v3.1 base score of 3.7 (Low) and a CVSS v4.0 base score of 6.3 (Medium) (Github Advisory, Feedly).

Technical details

The root cause is classified as CWE-176 (Improper Handling of Unicode Encoding). In XML_UNICODE builds, when libexpat parses non-native byte order UTF-16 input, the DEFINE_UTF16_TO_UTF16 macro in xmltok.c incorrectly checks whether the last two bytes constitute a high surrogate: the original code evaluated fromLim - *fromP > ((toLim - *toP) << 1) before checking for a trailing high surrogate, but when output space is exactly one unit (two bytes), this condition is false and the surrogate-pair guard is skipped entirely — causing only the high surrogate (first half of a 4-byte pair) to be copied to the output buffer. The fix (commit 702389c) restructures the logic to first compute the maximum bytes that can be copied based on available output space, then independently checks whether the last about-to-be-copied two bytes form a high surrogate, correctly handling the edge case where output space equals exactly one UTF-16 unit (libexpat PR #1519, libexpat commit). Exploitation requires the target application to be compiled with XML_UNICODE and to process attacker-supplied UTF-16 XML documents with non-native byte order (Github Advisory).

Impact

Successful exploitation allows an unauthenticated network attacker to inject lone high surrogates (malformed Unicode non-characters) into data delivered to an application's XML character data or default handlers. The primary impact is an integrity violation: parsed data may be silently corrupted, and applications relying on the parser output for validation or downstream processing may be bypassed or produce incorrect results. There is no confidentiality or availability impact assessed, and the vulnerability does not enable code execution or privilege escalation (Github Advisory, Feedly).

Exploitability

As of the disclosure date (November 22, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Github Advisory). The EPSS score is 0.0, reflecting negligible near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high attack complexity due to the specific preconditions: the target must use an XML_UNICODE build of libexpat and must parse attacker-controlled UTF-16 XML with non-native byte order (Feedly).

Exploitation steps

  1. Identify target: Locate applications that use libexpat ≤ 2.10.0 compiled with the XML_UNICODE build flag and that accept or process UTF-16 encoded XML documents from external sources.
  2. Craft malicious XML: Construct a UTF-16 XML document using non-native byte order (e.g., big-endian UTF-16 on a little-endian system) that contains supplementary plane characters encoded as surrogate pairs (U+D800–U+DBFF followed by U+DC00–U+DFFF).
  3. Trigger buffer boundary condition: Size the document or the specific XML element content such that when the parser's output buffer has exactly one UTF-16 unit (two bytes) of space remaining, a surrogate pair straddles the buffer boundary — causing the flawed DEFINE_UTF16_TO_UTF16 logic to copy only the high surrogate.
  4. Deliver to handler: Submit the crafted document to the target application's XML parsing endpoint. The lone high surrogate is passed to the application's character data or default handler as if it were valid data.
  5. Achieve objective: Depending on the application, the malformed Unicode data may corrupt stored records, bypass Unicode-aware input validation, or cause downstream processing errors (libexpat PR #1519, libexpat commit).

Mitigation and workarounds

The fix is targeted for libexpat version 2.11.0 (milestone assigned in PR #1519), with the patch committed as 702389c on November 21, 2026. Users should update libexpat to a version incorporating this fix once released. As an interim workaround, restrict or reject parsing of UTF-16 XML documents from untrusted sources, or validate that all UTF-16 input originates from trusted, controlled systems. Applications should also implement robust error handling for malformed Unicode data returned by the parser (libexpat PR #1519, Github Advisory).

Community reactions

The vulnerability was noted on social platforms including Bluesky and Mastodon's infosec.exchange shortly after disclosure, and was indexed by threat intelligence aggregators including Cloudflare Radar and CIRCL. Community reaction has been muted given the low exploitability and absence of a public PoC, with no significant vendor statements or major media coverage observed beyond standard CVE tracking (Feedly, Feedly).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

expat

Affected

sid

expat

Affected

trixie

expat

Affected

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-9

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134367HIGH8.7
  • Linux Debian logoLinux Debian
  • pypdf
NoNoNov 21, 2026
CVE-2026-134704HIGH8.5
  • Linux Debian logoLinux Debian
  • openshot-qt
NoNoNov 22, 2026
CVE-2026-134753HIGH8.3
  • Linux Debian logoLinux Debian
  • dsniff
NoNoNov 22, 2026
CVE-2026-134703MEDIUM6.3
  • Linux Debian logoLinux Debian
  • xmlrpc-c
NoYesNov 22, 2026
CVE-2026-132147NONEN/A
  • Linux Debian logoLinux Debian
  • debbugs
NoNoNov 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management