libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails
Source GCVE Database
Not known to be exploited · CVSS 8.7 High.
Data as of 27 Nov 2026, 20:02 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libexpatlibexpat | Affected
| Fixed in– |
GitHublibexpatpkg:github/libexpatOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted XML documents or apply external XML validation to detect duplicate attribute declarations.
Description
libexpat versions through 2.11.0 have a denial of service vulnerability in the defineAttribute() function within lib/xmlparse.c. The flaw arises because the parser fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations, allowing attackers to craft XML documents with repeated ATTLIST declarations in an internal DTD subset. This causes quadratic CPU consumption during parsing, leading to denial of service.
References
- nvd.nist.gov/vuln/detail/CVE-2026-137992 (opens in a new tab)
- github.com/libexpat/libexpat/pull/1537 (opens in a new tab)
- github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c (opens in a new tab)
- vulncheck.com/advisories/libexpat-through-2.11.0-denial-of-service-via-defineattribute-duplicate-declarations (opens in a new tab)