AZL-116158: CVE-2026-137072 affecting package libxml2 2.11.5-11
GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability that allows attackers to trigger stale DTD validation states after xmlTextReaderCurrentDoc documents are freed. Attackers can supply an XML document ending with an error inside an element, causing xmlTextReaderClose to read freed element declarations, leading to crashes and possible invalid frees.
Affected Software
Event History
Frequently Asked Questions
What input is required to trigger this issue?
An attacker must be able to supply a crafted XML document to an application that uses libxml2's XML reader and DTD validation handling. The document ends with an error inside an element, leaving stale DTD validation state after the current document is freed.
What is the likely impact of successful exploitation?
The described behavior can cause a crash when xmlTextReaderClose reads freed element declarations. It may also lead to invalid frees, indicating potential memory-corruption impact beyond denial of service.
Which libxml2 versions are identified as affected?
The affected range is GNOME libxml2 versions 2.9.10 through 2.15.4. The listed Azure Linux package is libxml2 2.11.5-11.