CVE-2026-137074

libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()

Medium published · updated

5.7
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
libxml2 gnome ≤2.15.4— CVE.org

References