MODERATE 5.9

CVE-2026-141596

libexpat through 2.11.0 NULL Pointer Dereference via Entity CDATA Suspension

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.11.0 contains a NULL pointer dereference vulnerability in doContent() in lib/xmlparse.c that mishandles parser suspension inside CDATA sections within internal general entities. Attackers can supply a crafted XML document to applications whose handlers suspend the parser inside the CDATA section, corrupting parser state and causing a crash.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.viliussutkus89.licenseOnly » libexpatpreliminary
<= 2.11.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 20261201.0702 (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.