Skip to content
VulniPulse
Advisory severityHigh7.4Red Hat Linux

High [CVE-2026-86140] Arbitrary code execution via stack-based buffer overflow in xmlSnprintfElements

This high-severity Red Hat Linux advisory covers CVE-2026-86140 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-86140 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open source advisory

Get an email when Red Hat Linux RHEL & SELinux publishes the next one.

See Red Hat Linux RHEL & SELinux's last 90 days of advisories first. Then choose the free weekly digest, or a free month of real-time alerts with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Red Hat Linux RHEL & SELinux

Summary

In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow. A flaw was found in libxml2.

A local attacker could exploit a stack-based buffer overflow in the `xmlSnprintfElements` function to achieve arbitrary code execution. This vulnerability in a fundamental system library could lead to significant system compromise if successfully exploited.

Red Hat severity: Important — CVSS 7.4 (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). Weakness: CWE-120.

Affected Red Hat products: Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9; Cert Manager support for Red Hat OpenShift release 1.20; Red Hat Cost Management On-Premise 1; Red Hat Hardened Images; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat OpenShift Container Platform 4.

Will not fix / out of support: Red Hat Enterprise Linux 6. Red Hat fixing advisory: RHSA-2026:71586, RHSA-2026:71641, RHSA-2026:71585, RHSA-2026:72470, RHSA-2026:72475, RHSA-2026:72476, RHSA-2026:79357, RHSA-2026:64463.

Affected products named by the advisory: Red Hat package: libxml2.

Affected versions
  • < 2.15.4

Official advisory · high-confidence parse· fetched 22 days ago·verify at source

Fixed versions
  • libxml2-0:2.12.5-10.el10_2.4
  • libxml2-0:2.9.7-21.el8_10.9
  • libxml2-0:2.9.13-14.el9_8.5
  • cert-manager/jetstack-cert-manager-rhel9:1790589912
  • cert-manager/cert-manager-istio-csr-rhel9:1790589914
  • cert-manager/cert-manager-operator-rhel9:1790589855
  • costmanagement/costmanagement-ui-rhel10:1791460851
  • libxml2-main-2.15.4-0.1.hum1
  • RHSA-2026:71586
  • RHSA-2026:71641
  • RHSA-2026:71585
  • RHSA-2026:72470
  • RHSA-2026:72475
  • RHSA-2026:72476
  • RHSA-2026:79357
  • RHSA-2026:64463

Official advisory · high-confidence parse· fetched 22 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • To mitigate this, administrators should disable DTD processing and validation for untrusted documents within libxml2 parsers and restrict network access so only authorized users can submit XML data to the application. For robust defense-in-depth against buffer overflow exploitation, ensure the library and dependent applications are compiled with memory safety flags like stack canaries (-fstack-protector-strong) and bounds checking (_FORTIFY_SOURCE=2), while verifying that standard OS-level protections such as ASLR and Data Execution Prevention (NX/XD Bit) are active on the host system.

Official advisory · high-confidence parse· fetched 22 days ago·verify at source

All Red Hat Linux advisories

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.