Bug 2584451 (CVE-2026-137075)

Summary: CVE-2026-137075 libxml2: libxml2: Information disclosure via missing buffer termination in xmlBufferAddHead
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
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. A missing null termination in the xmlBufferAddHead() function leaves uninitialized memory bytes at the end of a buffer when handling storage-less buffers. An attacker supplying data to an application that reuses these buffers can trigger an out-of-bounds memory read. This flaw can lead to information disclosure of adjacent memory or cause an application crash, 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:41:55 UTC
GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an xmlBuffer can trigger over-reads via xmlBufferCat() and xmlStrlen(), disclosing adjacent heap memory or causing crashes.

Comment 1 Yadnyawalk Tale 2026-11-26 07:50:16 UTC
Hybrid Platforms BU assessment for CVE-2026-137075 (libxml2 missing NUL termination in xmlBufferAddHead):

Upstream: GNOME/libxml2#1213 (reported 2026-11-25, no fix released yet). The non-terminating path (grow + memmove of use+1 bytes without writing a terminator) exists only in the 2.14.0 buf.c rewrite. Verified in v2.9.13 and v2.12.5 (tree.c): xmlBufferAddHead() explicitly writes buf->content[buf->use] = 0 on all paths.

- hummingbird-1: AFFECTED/DELEGATED — ships libxml2-2.15.4-1.2.hum1 (in range). Tracker HUM-13760.
- openshift-4/5 (all 16 RHCOS affects): NOTAFFECTED (Vulnerable Code not Present) — RHCOS 8 (2.9.7), RHCOS 9 (2.9.13), RHCOS 10 (2.12.5) all predate the 2.14.0 buffer implementation and explicitly NUL-terminate.

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