libexpat denial of service in DTD attribute handling
libexpat through 2.11.0 is affected by a denial of service triggered by duplicate defineAttribute declarations. No fixed version is listed in the checked facts.
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Not reported
Summary
Written by a model
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.
Who should check
Teams running libexpat 2.11.0 or earlier that parse untrusted XML, including anyone shipping software that embeds the libexpat parser.
“libexpat through 2.11.0 contains a denial of service vulnerability”
What to do
Apply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-137992 (libexpat through 2.11.0 Denial of Service via defineAttribute Duplicate Declarations), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-137992 (entry last updated 2026-11-27):
Affected:
- libexpat libexpat: through 2.11.0
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- libexpat through 2.11.0 is affected (source: https://www.vulncheck.com/advisories/libexpat-through-2.11.0-denial-of-service-via-defineattribute-duplicate-declarations)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-137992 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137992 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/libexpat/libexpat/pull/1537
- https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c#L8218-L8280
- https://www.vulncheck.com/advisories/libexpat-through-2.11.0-denial-of-service-via-defineattribute-duplicate-declarations
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-137992
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137992"}.Affected versions
- libexpat libexpatthrough 2.11.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.7/10CVSS 8.7
- No patch0/5No signal
What would change the score
- Would score about 71 if added to CISA KEV
- Would score about 66 if CISA's SSVC rates exploitation active
- Would score about 31 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 5
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-137992 |
| Record | NVD · CVE-2026-137992 |
| Other links 3 | |
| Patch | GitHub · libexpat/libexpat · Pull request #1537 |
| Repository | GitHub · libexpat/libexpat · expat/lib/xmlparse.c · L8218-L8280 |
| Link | vulncheck.com · advisories/libexpat-through-2.11.0-denial-of-service-via-defineattribute-duplicate-declarations |
Questions about CVE-2026-137992
Is CVE-2026-137992 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
Duplicate declarations passed to defineAttribute cause quadratic CPU consumption in storeAtts() during parsing. That extra CPU work can make the parser slow enough to deny service.
Source: vulncheck.com
Which versions are affected by CVE-2026-137992?
libexpat: through 2.11.0.
Source: cve.now feed data
Am I affected, and how do I check?
The checked facts list libexpat versions through 2.11.0 as affected, with no earlier lower bound. To check an installed copy, compare its libexpat version against 2.11.0.
Source: vulncheck.com
How do I fix CVE-2026-137992?
The checked facts name no fixed version or vendor patch, so no upgrade target can be given from them. Check the libexpat project for a release that is later than 2.11.0.
Source: vulncheck.com
Related
- CVE-2026-115506libexpat through 2.9.0 Denial of Service via Billion Laughs Detection Delay
- CVE-2026-93990Expat before 2.8.5 Malformed UTF-16 Acceptance via Unchecked Surrogate
- CVE-2026-76641Expat Out-of-Bounds Read via dtdCopy
- CVE-2026-77214libexpat Heap Buffer Over-read in xmlparse.c via XML_ParseBuffer
- CVE-2026-118370libexpat through 2.9.0 Integer Overflow in storeAtts via attIndex and nPrefixes
- CVE-2026-117610libexpat through 2.9.0 NULL Pointer Dereference via External Entity Subparser
No corrections so far. Something wrong on this page? Report an error.