Bug 2584444 (CVE-2026-137074) - CVE-2026-137074 libxml2: libxml2: Denial of Service via null pointer dereference in xmlTextReaderConstEncoding
Summary: CVE-2026-137074 libxml2: libxml2: Denial of Service via null pointer derefere...
Keywords:
Status: NEW
Alias: CVE-2026-137074
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-25 19:41 UTC by OSIDB Bzimport
Modified: 2026-11-26 07:49 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-25 19:41:29 UTC
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.

Comment 1 Yadnyawalk Tale 2026-11-26 07:49:53 UTC
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


Note You need to log in before you can comment on or make changes to this bug.