Read the docs

Split surrogate pairs in libexpat UTF-16 conversion

Priority LOW 29CWE-176Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

libexpat through 2.10.0 has an improper Unicode handling flaw (CWE-176) in the DEFINE_UTF16_TO_UTF16 conversion functions in xmltok.c. When output space is limited, these functions can split valid surrogate pairs. In XML_UNICODE builds parsing non-native byte order UTF-16 input, an attacker can supply a crafted document that delivers lone high surrogates to character data and default handlers. CVSS 4.0 scores it 6.3 (MEDIUM), and CISA's KEV catalog does not list it.

Written with Claude Haiku 5.5 from the sources below · 2026-11-22

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00518 37th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
libexpat projectlibexpatup to 2.10.0—No fix listedCNA
  • libexpat Vendorlibexpat project Affected up to 2.10.0 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*——libexpat project
  • cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* Versions — — ·libexpat project

Remediation

The sources list no fixed version for libexpat.

Written with Claude Haiku 5.5 from the sources below · 2026-11-22

Timeline

  1. 2026-11-22 Threatist record created from CVE-2026-134703
  2. 2026-11-22 Alias added: GHSA-38qh-9924-4393
  3. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2022-09008 In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames. CVSS 3.1CRITICAL 9.8
  • TI-2026-79488 Billion laughs detection delay in libexpat enables denial of service CVSS 4.0HIGH 8.7
  • TI-2021-20962 In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the… CVSS 3.1HIGH 8.8
  • TI-2021-21076 In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize. CVSS 3.1HIGH 8.1
  • TI-2016-00645 Expat allows context-dependent attackers to cause a denial of service (crash) or possibly… CVSS 3.1CRITICAL 9.8
  • TI-2024-34028 An issue was discovered in libexpat before 2.6.4. CVSS 3.1MEDIUM 5.9
See all 78 →

Sources