AZL-116348: CVE-2026-137992 affecting package expat 2.9.0-1
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 Software
Event History
Frequently Asked Questions
What input must an attacker control to trigger the denial of service?
The attacker must be able to supply an XML document that is parsed by the affected libexpat instance. The document needs an internal DTD subset containing repeated ATTLIST declarations for duplicate non-ID attributes declared as #IMPLIED or #REQUIRED.
What is the practical impact during parsing?
Processing the crafted declarations causes quadratic CPU consumption in storeAtts(). This can make XML parsing consume excessive CPU and result in a denial of service.
Which libexpat versions are affected?
The issue is described as affecting libexpat through version 2.11.0. The listed package is azure-linux/expat 2.9.0-1.