AZL-116152: CVE-2026-137067 affecting package libxml2 2.11.5-11
GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability in xmlValidatePopElement because xmlCtxtReset frees the DTD without popping stale validation states. Attackers supplying an XML document ending inside an element to an application reusing a DTD-validating xmlTextReader can trigger heap reads, causing crashes and limited heap disclosure via error messages.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using libxml2's xmlTextReader with DTD validation and reusing that reader are exposed. The vulnerable parsing sequence requires processing an XML document that ends while still inside an element.
What does an attacker need to do to trigger the vulnerability?
An attacker needs to supply a specially formed XML document to a vulnerable application. The document must end inside an element so stale validation state is later used after the DTD has been freed.
What is the likely impact of successful exploitation?
The issue can cause heap reads, resulting in application crashes. Error messages may expose limited heap contents.