Bug 2584457 (CVE-2026-137068)

Summary: CVE-2026-137068 libxml2: libxml2: Denial of Service via use-after-free in reused XML text reader
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in libxml2. This vulnerability allows an attacker to cause a denial of service (DoS) by crashing the application. When an application reuses an XML text reader across multiple documents without proper cleanup, the parser retains stale references to previously freed memory. An attacker can supply specially crafted XML data to trigger a use-after-free condition during parser cleanup, causing the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-25 19:42:19 UTC
libxml2 through 2.15.4 contains a heap use-after-free vulnerability that allows attackers to crash applications by triggering xmlFreeNode on a stale reader->faketext node after xmlTextReader reuse. Attackers can supply XML containing a namespace declaration to applications that read its value and reuse the reader, causing a freed document's dictionary read and process crash.

Comment 1 Yadnyawalk Tale 2026-11-26 07:51:53 UTC
Hybrid Platforms BU assessment for CVE-2026-137068 (libxml2 use-after-free in reused XML text reader via faketext, GNOME#1163/#1208):

Upstream: GNOME/libxml2#1163, fix MR 503 (reported 2026-11-25, no fix released yet). xmlTextReaderClose()/xmlFreeTextReader() read the freed document through reader->faketext (created with xmlNewDocText(reader->node->doc, ...) and read by xmlFreeNode via faketext->doc->dict). Verified the faketext creation/free pattern exists identically in v2.9.7 — affected in all shipped versions (through 2.15.4).

- hummingbird-1: AFFECTED/DELEGATED — ships libxml2-2.15.4-1.2.hum1. Tracker HUM-13764.
- openshift-4/5 (all 16 RHCOS affects: 4.12.z coreos-8, 4.13.z-4.23 coreos-9, 5.0/5.1 coreos-9 and coreos-10): AFFECTED/DELEGATED — all shipped libxml2 versions (2.9.7, 2.9.13, 2.12.5, 2.15.4) contain the vulnerable code. OCPBUGS trackers filed: 147859 (5.0 coreos-10), 147867 (5.0 coreos-9), 147860 (4.16.z), 147861 (4.17), 147862 (4.18), 147863 (4.19), 147864 (4.20), 147865 (4.21), 147866 (4.22), 147868 (4.13.z), 147869 (4.14.z), 147870 (4.15.z), 147871 (4.12.z), 147872 (5.1 coreos-10), 147873 (5.1 coreos-9), 147874 (4.23).

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.14.z/4.15.z: libxml2-2.9.13-3.el9_2.20
openshift-4.16.z-4.18: libxml2-2.9.13-13.el9_4.10; 4.19-4.21: 2.9.13-13.el9_6; 4.22/4.23/5.0/5.1 (coreos-9): 2.9.13-14.el9_8.5
openshift-5.0/5.1 (coreos-10): libxml2-2.12.5-10.el10_2.4