Bug 2584481 (CVE-2026-137067)

Summary: CVE-2026-137067 libxml2: libxml2: Denial of Service via use-after-free during XML reader reuse
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 occurs when the parser reuses an XML reader context without clearing stale validation states, leading to a use-after-free condition where previously released memory is accessed. By supplying a specially crafted XML document that terminates abruptly inside an element to an application validating against a Document Type Definition (DTD), an attacker can trigger invalid memory reads. This issue primarily leads to a Denial of Service (DoS) by crashing the application, or can result in limited information disclosure through error messages.
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:43:52 UTC
GNOME libxml2 2.9.10 through 2.15.4 contains a use-after-free vulnerability in xmlValidatePopElement because xmlCtxtReset frees the DTD without popping stale validation states. Attackers supplying an XML document ending inside an element to an application reusing a DTD-validating xmlTextReader can trigger heap reads, causing crashes and limited heap disclosure via error messages.

Comment 1 Yadnyawalk Tale 2026-11-26 07:51:29 UTC
Hybrid Platforms BU assessment for CVE-2026-137067 (libxml2 use-after-free via xmlValidatePopElement during reader reuse, GNOME#1163):

Upstream: GNOME/libxml2#1163, fix MR 503 (reported 2026-11-25, no fix released yet). xmlCtxtReset() frees ctxt->myDoc while the reader still holds pointers (faketext, DTD validation stack), causing UAF/minor memory disclosure when a reader is reused with DTD validation on untrusted payloads. Affected from libxml2 2.9.10 through 2.15.4 (vulncheck introduction analysis); verified faketext machinery exists in v2.9.10.

- hummingbird-1: AFFECTED/DELEGATED — ships libxml2-2.15.4-1.2.hum1. Tracker HUM-13766.
- openshift-4.13.z-4.23 (RHCOS 9, libxml2 2.9.13) and openshift-5.0/5.1 (RHCOS 9/10, 2.9.13/2.12.5): AFFECTED/DELEGATED — within the 2.9.10-2.15.4 affected range. OCPBUGS trackers filed: 147844 (5.0 coreos-10), 147852 (5.0 coreos-9), 147845 (4.16.z), 147846 (4.17), 147847 (4.18), 147848 (4.19), 147849 (4.20), 147850 (4.21), 147851 (4.22), 147853 (4.13.z), 147854 (4.14.z), 147855 (4.15.z), 147856 (5.1 coreos-10), 147857 (5.1 coreos-9), 147858 (4.23).
- openshift-4.12.z (RHCOS 8): NOTAFFECTED (Vulnerable Code not Present) — ships libxml2-2.9.7-13.el8_6.24, below the 2.9.10 introduction bound.

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