MODERATE 4.8

CVE-2026-124317

libexpat through 2.10.0 Out-of-Bounds Read via unknown_toUtf8 and unknown_toUtf16

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

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.viliussutkus89.licenseOnly » libexpatpreliminary
<= 2.10.0
-

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.