CVE-2026-141596
libexpat through 2.11.0 NULL Pointer Dereference via Entity CDATA Suspension
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.viliussutkus89.licenseOnly » libexpatpreliminary | <= 2.11.0 | - |
Blast radius
50% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2 |
| 2 hops | 6 |
Most used dependents
- com.viliussutkus89.licenseOnly » pdf2htmlEX-dependency-tree1 usages
- com.viliussutkus89 » pdf2htmlex-android0 usages
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.
References
| Advisory | CVE record CVE-2026-141596 | github.com |
| Advisory | NVD CVE-2026-141596 | nvd.nist.gov |
| Advisory | advisories/libexpat-through-2.11.0-null-pointer-dereference-via-entity-cdata-suspension | vulncheck.com |
| Fix | libexpat/libexpat pull request #1545 | github.com |
| Report | libexpat/libexpat issue #1419 | github.com |
| Article | libexpat/libexpat xmlparse.c | github.com |
| Package | libexpat/libexpat | github.com |
