Fedora Account System
Red Hat Associate
Red Hat Customer
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.
Hybrid Platforms BU assessment for CVE-2026-137074 (libxml2 NULL pointer dereference in xmlTextReaderConstEncoding): Upstream: GNOME/libxml2#1212 (reported 2026-11-25, no fix released yet). The vulnerable path — xmlTextReaderConstEncoding() calling xmlGetActualEncoding() which dereferences ctxt->input after xmlReaderNewWalker() left the context without input — was introduced in libxml2 2.12.6 (per vulncheck introduction analysis; verified that v2.9.13 and v2.12.5 read doc->encoding instead and contain no such dereference). - hummingbird-1: AFFECTED/DELEGATED — ships libxml2-2.15.4-1.2.hum1 (in range). Tracker HUM-13758. - openshift-4/5 (all 16 RHCOS affects): NOTAFFECTED (Vulnerable Code not Present) — RHCOS 8 ships libxml2 2.9.7-13.el8_6.24, RHCOS 9 ships 2.9.13-*.el9, RHCOS 10 ships 2.12.5-10.el10_2.4; all predate the 2.12.6 introduction of the vulnerable code path. Verified in v2.9.13/v2.12.5 source: xmlTextReaderConstEncoding() returns doc->encoding and never dereferences ctxt->input. SBOM evidence (newcli, 2026-11-26): $ newcli libxml2 --include_module openshift-4 -j / --include_module openshift-5 -j / --include_module hummingbird-1 -j hummingbird-1: libxml2-2.15.4-1.2.hum1 openshift-4.12.z: rhcos-412.86.202611041725-0 libxml2-2.9.7-13.el8_6.24 openshift-4.13.z-4.22 / 5.0 / 5.1 (RHCOS 9): libxml2 2.9.13-*.el9 variants openshift-5.0 (RHCOS 10): rhcos-5.0.10.2.202611022203-0 libxml2-2.12.5-10.el10_2.4