Improper Handling of Unicode Encoding Affecting expat package, versions <2.10.0-1+e3


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.41% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-EXPAT-22729435
  • published22 Nov 2026
  • disclosed22 Nov 2026

Introduced: 22 Nov 2026

NewCVE-2026-134703  (opens in a new tab)
CWE-176  (opens in a new tab)

How to fix?

Upgrade Echo:latest expat to version 2.10.0-1+e3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream expat package and not the expat package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1