NULL Pointer Dereference in GNOME libxml2 Affects Application Stability
CVE-2026-137074
5.7MEDIUM
What is CVE-2026-137074?
The GNOME libxml2 library versions 2.12.6 through 2.15.4 are affected by a NULL pointer dereference vulnerability that occurs in the xmlTextReaderConstEncoding() function. This issue arises when a reader is reset through xmlReaderNewWalker(), causing the input context to be NULL. When the document encoding is queried, the application attempts to read flags from the NULL input context, leading to a crash. This vulnerability can be exploited to cause denial of service in applications relying on libxml2.
Affected Version(s)
libxml2 2.12.6 <= 2.15.4