HIGH 7.5

CVE-2026-93990

Expat before 2.8.5 Malformed UTF-16 Acceptance via Unchecked Surrogate

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Expat before 2.8.5 fails to validate that a high surrogate in UTF-16 input is followed by a low surrogate, allowing malformed UTF-16 sequences to be accepted. Attackers can supply UTF-16 encoded XML containing lone high surrogates that consume the following code unit, causing Expat to pass unpaired surrogates to applications built with XML_UNICODE and to silently replace input characters in other builds.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.viliussutkus89.licenseOnly » libexpatpreliminary
< 2.8.5< ff6e1d7e750bbe245178f51a47a965dc8342861a< 4b3f0b06f39fb5529cead381694f8929901bc273
2.8.5, ff6e1d7e750bbe245178f51a47a965dc8342861a, 4b3f0b06f39fb5529cead381694f8929901bc273

Blast radius

1affected artifacts
2affected versions
2dependent artifacts (est.)
8dependent versions

50% of the dependent artifacts (1) still pull an affected version in their latest release.

DepthDependent versions
Direct
2
2 hops
6

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.