home / blog

2026-11-28 · high

CVE-2026-137992: libexpat DoS vulnerability risks systems

DoS vulnerability in libexpat 2.11.0 causes quadratic CPU consumption with duplicate ATTLIST declarations.

CVE-2026-137992: libexpat DoS vulnerability risks systems

CVE-2026-137992 reveals a critical vulnerability in libexpat, a widely used library for XML processing. The flaw resides in the defineAttribute() function that fails to correctly detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. When an XML document contains repeated ATTLIST declarations in the internal DTD subset, the parsing process requires quadratic CPU time, causing a denial of service.

The vulnerability is classified as high severity (CVSS 7.5) and officially published on NVD on November 27, 2026. Discussion signals are currently limited but increasing, with posts highlighting the potential risk. No public exploits have been reported yet, but the risk of being used for denial of service attacks is significant.

In defense, we recommend applying patches as soon as available for affected versions, implementing strict validation of incoming XML documents, monitoring CPU consumption during XML processing, and considering alternatives or wrappers that limit the impact of potentially malicious documents.

At a glance

What
Denial of service vulnerability in defineAttribute() of libexpat that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations.
Severity
High (CVSS 7.5)
Affected versions
libexpat through 2.11.0
Fix
Not reported
Status
Officially published on NVD on 2026-11-27
Action
Apply patches as soon as available, implement strict XML validation, monitor CPU consumption

Sources: NVD, CVE-2026-137992

← All articles