Bug 2584465 (CVE-2026-137082)

Summary: CVE-2026-137082 libxml2: libxml2: Denial of Service via parser context 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. An attacker could exploit this vulnerability by providing specially crafted XML documents to an application that reuses parser contexts across different parsing modes. This flaw leads to an invalid memory write via a NULL pointer dereference, causing the application to crash and resulting in a Denial of Service (DoS).
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:50 UTC
GNOME libxml2 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlParseStartTag2() that allows attackers to crash applications by triggering parser context reuse after SAX1 parsing. Attackers can supply documents with attributes parsed first with XML_PARSE_SAX1 and then without it on a reused context, causing writes to unallocated ctxt->attallocs and denial of service.

Comment 1 Yadnyawalk Tale 2026-11-26 07:52:17 UTC
Hybrid Platforms BU assessment for CVE-2026-137082 (libxml2 NULL pointer dereference / OOB write via unreset attribute allocation state, GNOME#1177):

Upstream: GNOME/libxml2#1177 (reported 2026-11-25, no fix released yet). xmlCtxtReset() preserves ctxt->atts, maxatts and attallocs without making their allocation models consistent; reusing a parser context after a SAX1 parse can write through a NULL attallocs pointer in xmlParseStartTag2. Verified in v2.9.7: attallocs exists, xmlCtxtReset does not reconcile the atts/attallocs allocation state — affected in all shipped versions (through 2.15.4).

- hummingbird-1: AFFECTED/DELEGATED — ships libxml2-2.15.4-1.2.hum1. Tracker HUM-13761.
- 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: 147875 (5.0 coreos-10), 147883 (5.0 coreos-9), 147876 (4.16.z), 147877 (4.17), 147878 (4.18), 147879 (4.19), 147880 (4.20), 147881 (4.21), 147882 (4.22), 147884 (4.13.z), 147885 (4.14.z), 147886 (4.15.z), 147887 (4.12.z), 147888 (5.1 coreos-10), 147889 (5.1 coreos-9), 147890 (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