Skip to content
OpenAdvisories
Low · 2.5 CVE-2025-6170 EUVD-2025-18442GHSA-6qrf-r65h-2r77

Libxml2: stack buffer overflow in xmllint interactive shell command handling

Published Jun 16, 2025 · Updated Nov 6, 2026 · Assigned by redhat

Vendor: Red Hat Product: Cert Manager support for Red Hat OpenShift release 1.17 Product: Cert Manager support for Red Hat OpenShift release 1.18 Product: Cert Manager support for Red Hat OpenShift release 1.20 Product: Red Hat AI Inference Server 3.2 Product: Red Hat AI Inference Server 3.5 Product: Red Hat Discovery 2 Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 10.0 Extended Update Support Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.6 Extended Update Support Product: Red Hat Enterprise Linux AI 3.5 Product: Red Hat Hardened Images Product: Red Hat Insights proxy 1.5 Product: Red Hat JBoss Core Services Product: Red Hat OpenShift AI (RHOAI) Product: Red Hat OpenShift AI 3.0 Product: Red Hat OpenShift AI 3.2 Product: Red Hat OpenShift AI 3.3 Product: Red Hat OpenShift AI 3.4 Product: Red Hat OpenShift AI 3.5 Product: Red Hat OpenShift Container Platform 4 Product: Red Hat Update Infrastructure 5 Package: libxml2 Package: libxml2 Package: libxml2 Package: libxml2 Platform: Linux Ecosystem: Alpine Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

Description

A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inputs an overly long command, the program does not check the input size properly, which can cause it to crash. This issue might allow attackers to run harmful code in rare configurations without modern protections.

Affected products

VendorProductAffectedFixed
— libxml2 < 2.14.5 2.14.5
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 — —
Red Hat Red Hat AI Inference Server 3.2 — —
Red Hat Red Hat AI Inference Server 3.5 — —
Red Hat Red Hat Discovery 2 — —
Red Hat Red Hat Enterprise Linux AI 3.5 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat Insights proxy 1.5 — —
Red Hat Red Hat OpenShift AI 3.0 — —
Red Hat Red Hat OpenShift AI 3.2 — —
Red Hat Red Hat OpenShift AI 3.3 — —
Red Hat Red Hat OpenShift AI 3.4 — —
Red Hat Red Hat OpenShift AI 3.5 — —
Red Hat Red Hat Update Infrastructure 5 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat JBoss Core Services — —
Red Hat Red Hat OpenShift AI (RHOAI) — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.12.7+dfsg+really2.9.14-2.1 —
Debian 13 libxml2 2.12.7+dfsg+really2.9.14-2.1 —
Debian 12 libxml2 2.9.14+dfsg-1.3~deb12u3 —
Debian 11 libxml2 2.9.10+dfsg-6.7+deb11u8 DLA-4251-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS libxml2 2.9.14+dfsg-1.3ubuntu3.4 USN-7694-1
Ubuntu 22.04 LTS libxml2 2.9.13+dfsg-1ubuntu0.8 USN-7694-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.10+esm1 USN-7694-1
Ubuntu Pro 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.9+esm4 USN-7694-1
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm9 USN-7694-1
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm8 USN-7694-1
ReleasePackageFixed inAdvisory
RHEL 10 libxml2 +3 2.12.5-10.el10_2.2 RHSA-2026:39304
RHEL 9 libxml2 +2 2.9.13-14.el9_8.2 RHSA-2026:39317
RHEL 8 libxml2 +2 2.9.7-21.el8_10.6 RHSA-2026:36734
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS libxml2 +3 2.12.5-9.el10_0.2 RHSA-2026:70596
RHEL 9.6 EUS libxml2 +2 2.9.13-12.el9_6.3 RHSA-2026:70639
RHEL 9.4 E4S libxml2 +2 2.9.13-13.el9_4.2 RHSA-2026:79121
RHEL 9.2 E4S libxml2 +2 2.9.13-3.el9_2.12 RHSA-2026:79118
RHEL 8.8 TUS libxml2 +2 2.9.7-16.el8_8.15 RHSA-2026:79119
RHEL 8.8 E4S libxml2 +2 2.9.7-16.el8_8.15 RHSA-2026:79119
RHEL 8.6 EUS Long Life libxml2 +2 2.9.7-13.el8_6.15 RHSA-2026:79120
RHEL 8.6 AUS libxml2 +2 2.9.7-13.el8_6.15 RHSA-2026:79120
Red Hat Hardened Images 1 libxml2 +4 2.15.2-0.3.hum1 RHSA-2026:7519

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libxml2 +3 2.12.5-10.el10_2.2 ALSA-2026:39304
AlmaLinux 9 libxml2 +2 2.9.13-14.el9_8.2 ALSA-2026:39317
AlmaLinux 8 libxml2 +2 2.9.7-21.el8_10.6 ALSA-2026:36734

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libxml2 2.12.5-10.el10_2.2 RLSA-2026:39304
Rocky Linux 9 libxml2 2.9.13-14.el9_8.2 RLSA-2026:39317
Rocky Linux 8 libxml2 2.9.7-21.el8_10.6 RLSA-2026:36734
ReleasePackageFixed inAdvisory
SLES 15 SP7 libxml2 +1 2.12.10-150700.4.3.1 SUSE-SU-2025:02260-1
SLES 15 SP6 libxml2 +1 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1
SLES 15 SP5 libxml2 +1 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1
SLES 15 SP4 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SLES 15 SP3 libxml2 +1 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 libxml2 +1 2.9.4-46.87.1 SUSE-SU-2025:02294-1
SLES 3 libxml2-python 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1, SUSE-SU-2025:02260-1
SLES for SAP 15 SP5 libxml2 +1 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1
SLES for SAP 15 SP4 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SLES for SAP 15 SP3 libxml2 +1 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
SLE Micro 6.1 libxml2 2.11.6-slfo.1.1_6.1 SUSE-SU-2025:20607-1
SLE Micro 6.0 libxml2 2.11.6-10.1 SUSE-SU-2025:20564-1
SLE Micro 5.5 libxml2 +1 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1
SLE Micro 5.4 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SLE Micro 5.3 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SLE Micro 5.2 libxml2 +1 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
SLE Micro 5.1 libxml2 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
SLE HPC 15 SP5 libxml2 +1 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1
SLE HPC 15 SP4 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SLE HPC 15 SP3 libxml2 +1 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
SUSE Manager Server 4.3 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SUSE Manager Proxy 4.3 libxml2 +1 2.9.14-150400.5.44.1 SUSE-SU-2025:02355-1
SUSE Enterprise Storage 7.1 libxml2 +1 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.13.8-2.1 openSUSE-SU-2025:15321-1
openSUSE Leap 15.6 libxml2 +1 2.10.3-150500.5.29.1 SUSE-SU-2025:02314-1
openSUSE Leap 15.6 python-libxml2-python 2.9.7-150000.3.82.1 SUSE-SU-2025:02275-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.13.9-r0 —
Alpine v3.23 libxml2 2.13.9-r0 —
Alpine v3.22 libxml2 2.13.9-r0 —
Alpine v3.21 libxml2 2.13.9-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libxml2 2.11.5-6 —
Azure Linux 2 (CBL-Mariner) libxml2 2.10.4-8 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libxml2 +3 2.12.5-10.el10_2.2 ELSA-2026-39304
Oracle Linux 9 libxml2 +2 2.9.13-14.el9_8.2 ELSA-2026-39317
Oracle Linux 8 libxml2 +2 2.9.7-21.el8_10.6 ELSA-2026-36734

Advisories 36

References