AZL-116164: CVE-2026-137082 affecting package libxml2 2.11.5-11
GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XMLPARSESAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.
Affected Software
Event History
Frequently Asked Questions
What must an attacker be able to do to trigger the crash?
They must be able to supply XML documents to an application that reuses a libxml2 parser context. The context must first parse attributes with XML_PARSE_SAX1 enabled and then parse attributes without that option.
Which applications are realistically exposed?
Applications using libxml2 to parse attacker-controlled XML are exposed if they reuse parser contexts across documents and perform the required SAX1-to-non-SAX1 parsing sequence. Applications that do not process untrusted XML, or that do not reuse parser contexts in this way, are not described as affected by the provided information.
How can I determine whether my application is affected?
Review parser lifecycle and option handling for reused libxml2 contexts. Look specifically for a context that parses a document with XML_PARSE_SAX1 and is later reused to parse a document without XML_PARSE_SAX1.