CVE-2026-139881
libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read
Description
libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names colliding in the parser's hash tables, causing hash flooding and excessive CPU consumption.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.viliussutkus89.licenseOnly » libexpatpreliminary | >= 2.2.3, <= 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 20261129.2353 (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-139881 | github.com |
| Advisory | NVD CVE-2026-139881 | nvd.nist.gov |
| Advisory | advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read | vulncheck.com |
| Fix | libexpat/libexpat pull request #1542 | github.com |
| Article | libexpat/libexpat random_dev_urandom.c | github.com |
| Article | libexpat/libexpat xmlparse.c | github.com |
| Package | libexpat/libexpat | github.com |
