CVE-2026-137992
libexpat through 2.11.0 Denial of Service via defineAttribute Duplicate Declarations
Description
libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.
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 20261127.1117 (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-137992 | github.com |
| Advisory | NVD CVE-2026-137992 | nvd.nist.gov |
| Advisory | advisories/libexpat-through-2.11.0-denial-of-service-via-defineattribute-duplicate-declara ... | vulncheck.com |
| Fix | libexpat/libexpat pull request #1537 | github.com |
| Article | libexpat/libexpat xmlparse.c | github.com |
| Package | libexpat/libexpat | github.com |
