CVE Vulnerabilities

CVE-2026-86142

Heap-based Buffer Overflow

Published: Sep 05, 2026 | Modified: Sep 15, 2026
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.9 MODERATE
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Ubuntu
MEDIUM

In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.

Weakness

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Affected Software

NameVendorStart VersionEnd Version
Libxml2Xmlsoft*2.15.4 (excluding)
Red Hat Enterprise Linux 10RedHatlibxml2-0:2.12.5-10.el10_2.4*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatlibxml2-0:2.12.5-9.el10_0.9*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatlibxml2-0:2.9.1-6.el7_9.20*
Red Hat Enterprise Linux 8RedHatlibxml2-0:2.9.7-21.el8_10.10*
Red Hat Enterprise Linux 8RedHatlibxml2-0:2.9.7-21.el8_10.10*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatlibxml2-0:2.9.7-9.el8_4.20*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatlibxml2-0:2.9.7-9.el8_4.20*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatlibxml2-0:2.9.7-13.el8_6.24*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatlibxml2-0:2.9.7-13.el8_6.24*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatlibxml2-0:2.9.7-16.el8_8.24*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.7-16.el8_8.24*
Red Hat Enterprise Linux 9RedHatlibxml2-0:2.9.13-14.el9_8.5*
Red Hat Enterprise Linux 9RedHatlibxml2-0:2.9.13-14.el9_8.5*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.13-3.el9_2.20*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.13-13.el9_4.10*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatlibxml2-0:2.9.13-13.el9_6*
Red Hat OpenShift Container Platform 4.22RedHatopenshift/ose-rhel-coreos-9:4.22.9.8.202610241758-0*
Cert Manager support for Red Hat OpenShift release 1.20RedHatcert-manager/jetstack-cert-manager-rhel9:1790589912*
Cert Manager support for Red Hat OpenShift release 1.20RedHatcert-manager/cert-manager-istio-csr-rhel9:1790589914*
Cert Manager support for Red Hat OpenShift release 1.20RedHatcert-manager/cert-manager-operator-rhel9:1790589855*
Red Hat Cost Management On-Premise 1RedHatcostmanagement/costmanagement-ui-rhel10:1791460851*
Red Hat Hardened ImagesRedHatlibxml2-main-2.15.4-0.1.hum1*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-spyre-rhel9:1793041986*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-rocm-rhel9:1793041981*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-cpu-rhel9:1793042072*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-cuda-rhel9:1793042067*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-tpu-rhel9:1793041987*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-cpu-rhel9:1793329709*
Red Hat OpenShift AI 3.0RedHatrhai/base-image-cuda-rhel9:1793328358*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-rocm-7.1-rhel9:1793042006*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-cuda-12.9-rhel9:1793042145*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-tpu-rhel9:1793042006*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-gaudi-rhel9:1793042011*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-cuda-13.0-rhel9:1793042086*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-cpu-rhel9:1793042088*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-rocm-6.4-rhel9:1793041995*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-spyre-rhel9:1793042074*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-neuron-rhel9:1793042008*
Red Hat OpenShift AI 3.4RedHatrhai/base-image-cuda-13.0-rhel9:1793326837*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-tpu-rhel9:1793042010*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-cpu-rhel9:1793042162*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-gaudi-rhel9:1793042004*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-rubin-rhel9:1793042092*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-cuda-12.9-rhel9:1793042117*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-cuda-13.0-rhel9:1793042093*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-spyre-rhel9:1793042114*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-rocm-7.14-rhel9:1793042024*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-neuron-rhel9:1793042008*
Red Hat OpenShift AI 3.5RedHatrhai/base-image-cuda-12.9-rhel9:1793327660*
Red Hat Update Infrastructure 5RedHatrhui5/cds-kubernetes-rhel9:1791978534*
Red Hat Update Infrastructure 5RedHatrhui5/cds-rhel9:1791978528*
Red Hat Update Infrastructure 5RedHatrhui5/haproxy-rhel9:1791978528*
Red Hat Update Infrastructure 5RedHatrhui5/installer-rhel9:1791964013*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1791978693*
Libxml2Ubuntuesm-infra-legacy/trusty*
Libxml2Ubuntuesm-infra-legacy/xenial*
Libxml2Ubuntuesm-infra/bionic*
Libxml2Ubuntuesm-infra/focal*
Libxml2Ubuntujammy*
Libxml2Ubuntunoble*
Libxml2Ubunturesolute*
Libxml2Ubuntuupstream*

Potential Mitigations

  • Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking.
  • D3-SFCV (Stack Frame Canary Validation) from D3FEND [REF-1334] discusses canary-based detection in detail.
  • Run or compile the software using features or extensions that randomly arrange the positions of a program’s executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code.
  • Examples include Address Space Layout Randomization (ASLR) [REF-58] [REF-60] and Position-Independent Executables (PIE) [REF-64]. Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as “rebasing” (for Windows) and “prelinking” (for Linux) [REF-1332] using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking.
  • For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND [REF-1335].

References