CVE-2026-137074
libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()
- Severity
- medium CVSS 5.7 (v4.0)
- Affects
- libxml2 · GNOME
- Weakness
- CWE-476: NULL Pointer Dereference
- Published
- 25 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.