Vulnerability Description
GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212
- https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-
FAQ
What is CVE-2026-137074?
CVE-2026-137074 is a vulnerability with a CVSS score of 4.7 (MEDIUM). GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves c...
How severe is CVE-2026-137074?
CVE-2026-137074 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137074?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.