cve.bz

CVE-2025-6170 Stack-based Buffer Overflow

2.5 lowEPSS 0.3%Fix available

Low (2.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:2.12.5-10.el10_2.2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:2.12.5-9.el10_0.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:2.9.7-21.el8_10.6
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:2.9.7-9.el8_4.20
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:2.9.7-9.el8_4.20
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:2.9.7-13.el8_6.15
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: fixed in 0:2.9.7-13.el8_6.15
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service: fixed in 0:2.9.7-16.el8_8.15
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-6170 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6170?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6170?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6170 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-6170

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-6170](https://cve.bz/cve/badge/CVE-2025-6170.svg)](https://cve.bz/cve/CVE-2025-6170)

HTML:

<a href="https://cve.bz/cve/CVE-2025-6170"><img src="https://cve.bz/cve/badge/CVE-2025-6170.svg" alt="CVE-2025-6170"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:2.12.5-10.el10_2.2
Red Hat Enterprise Linux 10.0 Extended Update Support0:2.12.5-9.el10_0.2
Red Hat Enterprise Linux 80:2.9.7-21.el8_10.6
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.9.7-9.el8_4.20
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.9.7-9.el8_4.20
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.9.7-13.el8_6.15
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:2.9.7-13.el8_6.15
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.9.7-16.el8_8.15
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.9.7-16.el8_8.15
Red Hat Enterprise Linux 90:2.9.13-14.el9_8.2
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.9.13-3.el9_2.12
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:2.9.13-13.el9_4.2
Red Hat Enterprise Linux 9.6 Extended Update Support0:2.9.13-12.el9_6.3
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371080
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371069
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791788287
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791378395
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791970484
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459707
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459711
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459759
Red Hat Cert Manager support for Red Hat OpenShift release 1.181789029076
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791966259
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790223279
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790223719
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790272426
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790589998
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790589912
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790589914
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790589855
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790598593
Red Hat AI Inference Server 3.21790621714
Red Hat AI Inference Server 3.21790621718
Red Hat AI Inference Server 3.21790621713
Red Hat AI Inference Server 3.51791425869
Red Hat AI Inference Server 3.51791427182
Red Hat AI Inference Server 3.51791803821
Red Hat AI Inference Server 3.51791473631
Red Hat AI Inference Server 3.51791818357
Red Hat AI Inference Server 3.51791473614
Red Hat Discovery 21784821670
Red Hat Discovery 21784821750
Red Hat Enterprise Linux AI 3.51793206758
Red Hat Enterprise Linux AI 3.51793194817
Red Hat Enterprise Linux AI 3.51793194815
Red Hat Enterprise Linux AI 3.51793194834
Red Hat Enterprise Linux AI 3.51793135861
Red Hat Enterprise Linux AI 3.51793135863
Red Hat Hardened Images2.15.2-0.3.hum1
Red Hat Insights proxy 1.51786433656
Red Hat OpenShift AI 3.01790276886
Red Hat OpenShift AI 3.01790276884
Red Hat OpenShift AI 3.01790277045
Red Hat OpenShift AI 3.01790276889
Red Hat OpenShift AI 3.01790276974
Red Hat OpenShift AI 3.21790703497
Red Hat OpenShift AI 3.21790703506
Red Hat OpenShift AI 3.21790703590
Red Hat OpenShift AI 3.21790703568
Red Hat OpenShift AI 3.21790703586
Red Hat OpenShift AI 3.21790703494
Red Hat OpenShift AI 3.31790703615
Red Hat OpenShift AI 3.31790703516
Red Hat OpenShift AI 3.31790703524
Red Hat OpenShift AI 3.31790703601
Red Hat OpenShift AI 3.31790703608
Red Hat OpenShift AI 3.31790703579
Red Hat OpenShift AI 3.31791231820
Red Hat OpenShift AI 3.31791232257
Red Hat OpenShift AI 3.41790703542
Red Hat OpenShift AI 3.41790703539
Red Hat OpenShift AI 3.41790703553
Red Hat OpenShift AI 3.41790703631
Red Hat OpenShift AI 3.41790703597
Red Hat OpenShift AI 3.41790703641
Red Hat OpenShift AI 3.41790703630
Red Hat OpenShift AI 3.41790703541
Red Hat OpenShift AI 3.41790703545
Red Hat OpenShift AI 3.51790703552
Red Hat OpenShift AI 3.51790703656
Red Hat OpenShift AI 3.51790703557
Red Hat OpenShift AI 3.51790703707
Red Hat OpenShift AI 3.51790703645
Red Hat OpenShift AI 3.51790703554
Red Hat OpenShift AI 3.51790703630
Red Hat OpenShift AI 3.51790703706
Red Hat Update Infrastructure 51784794818
Red Hat Update Infrastructure 51784794778
Red Hat Update Infrastructure 51784795112
Red Hat Update Infrastructure 51784794289
Red Hat Update Infrastructure 51784795076
Red Hat Update Infrastructure 51787241211
Red Hat Update Infrastructure 51787135742
Red Hat Update Infrastructure 51787241260

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxml22.9.10+dfsg-6.7+deb11u8DLA-4251-1
Debian12libxml22.9.14+dfsg-1.3~deb12u3DEBIAN-CVE-2025-6170
Debian13, 14libxml22.12.7+dfsg+really2.9.14-2.1DEBIAN-CVE-2025-6170
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.8UBUNTU-CVE-2025-6170 USN-7694-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.4UBUNTU-CVE-2025-6170 USN-7694-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm8UBUNTU-CVE-2025-6170 USN-7694-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm9UBUNTU-CVE-2025-6170 USN-7694-1
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm4UBUNTU-CVE-2025-6170 USN-7694-1
UbuntuPro:20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.10+esm1UBUNTU-CVE-2025-6170 USN-7694-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-21.el8_10.6RHSA-2026:36734
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-21.el8_10.6RHSA-2026:36734
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-14.el9_8.2RHSA-2026:39317
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-14.el9_8.2RHSA-2026:39317
Red Hatenterprise_linux:10.2libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-10.el10_2.2RHSA-2026:39304
Red Hatenterprise_linux_eus:10.0libxml2, libxml2-devel, libxml2-static and 4 more0:2.12.5-9.el10_0.2RHSA-2026:70596
Red Hathummingbird:1libxml2, libxml2-16, libxml2-devel and 2 more0:2.15.2-0.3.hum1RHSA-2026:7519
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-9.el8_4.20RHSA-2026:93473
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-9.el8_4.20RHSA-2026:93473
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-13.el8_6.15RHSA-2026:79120
Red Hatrhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-13.el8_6.15RHSA-2026:79120
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-16.el8_8.15RHSA-2026:79119
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 morelibxml2, python-libxml2-python2.9.7-150000.3.82.1SUSE-SU-2025:02275-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morelibxml2, libxml2-python2.9.14-150400.5.44.1SUSE-SU-2025:02355-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 3 morelibxml2, libxml2-python2.10.3-150500.5.29.1SUSE-SU-2025:02314-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.82.1SUSE-SU-2025:02275-1
SUSELinux Enterprise Module for Basesystem 15 SP7libxml2, libxml2-python2.12.10-150700.4.3.1SUSE-SU-2025:02260-1
SUSELinux Enterprise Module for Python 3 15 SP6libxml2-python2.10.3-150500.5.29.1SUSE-SU-2025:02314-1
SUSELinux Enterprise Module for Python 3 15 SP7libxml2-python2.12.10-150700.4.3.1SUSE-SU-2025:02260-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libxml2, python-libxml22.9.4-46.87.1SUSE-SU-2025:02294-1
SUSELinux Micro 6.0libxml22.11.6-10.1SUSE-SU-2025:20564-1
SUSELinux Micro 6.1libxml22.11.6-slfo.1.1_6.1SUSE-SU-2025:20607-1
openSUSELeap 15.6libxml2, libxml2-python2.10.3-150500.5.29.1SUSE-SU-2025:02314-1
openSUSELeap 15.6python-libxml2-python2.9.7-150000.3.82.1SUSE-SU-2025:02275-1
openSUSETumbleweedlibxml22.13.8-2.1openSUSE-SU-2025:15321-1
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-21.el8_10.6ALSA-2026:36734
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-14.el9_8.2ALSA-2026:39317
AlmaLinux10libxml2, libxml2-devel, libxml2-static and 1 more2.12.5-10.el10_2.2ALSA-2026:39304
Rocky Linux8libxml20:2.9.7-21.el8_10.6RLSA-2026:36734
Rocky Linux9libxml20:2.9.13-14.el9_8.2RLSA-2026:39317
Rocky Linux10libxml20:2.12.5-10.el10_2.2RLSA-2026:39304
Alpinev3.21, v3.22, v3.23 and 1 morelibxml22.13.9-r0ALPINE-CVE-2025-6170
Azure Linux2libxml22.10.4-8AZL-64470
Azure Linux3libxml22.11.5-6AZL-64482
Alpaquita23libxml22.10.4-r5BELL-CVE-2025-6170
Alpaquita25, streamlibxml22.13.8-r1BELL-CVE-2025-6170
BellSoft Hardened Containers23libxml22.10.4-r5BELL-CVE-2025-6170
BellSoft Hardened Containers25, streamlibxml22.13.8-r1BELL-CVE-2025-6170

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The Red Hat Product Security team has rated the severity of this vulnerability as Low, since it affects only the interactive shell mode of the xmllint tool and requires a user to manually run the tool and enter or receive specially crafted input. The exploitation requires local access and a highly specific usage scenario that is uncommon in typical environments. While it can cause a crash, the impact is limited to availability, and exploitation is unlikely in real-world deployments.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to a widespread installation base, or stability. It is strongly recommended to apply the upstream patch once available.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libxml2-0:2.12.5-10.el10_2.2Fixed 2026-07-14RHSA-2026:39304
Red Hat Enterprise Linux 10.0 Extended Update Supportlibxml2-0:2.12.5-9.el10_0.2Fixed 2026-09-23RHSA-2026:70596
Red Hat Enterprise Linux 8libxml2-0:2.9.7-21.el8_10.6Fixed 2026-07-08RHSA-2026:36734
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-9.el8_4.20Fixed 2026-11-02RHSA-2026:93473
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-9.el8_4.20Fixed 2026-11-02RHSA-2026:93473
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibxml2-0:2.9.7-13.el8_6.15Fixed 2026-10-08RHSA-2026:79120
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibxml2-0:2.9.7-13.el8_6.15Fixed 2026-10-08RHSA-2026:79120
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibxml2-0:2.9.7-16.el8_8.15Fixed 2026-10-08RHSA-2026:79119
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibxml2-0:2.9.7-16.el8_8.15Fixed 2026-10-08RHSA-2026:79119
Red Hat Enterprise Linux 9libxml2-0:2.9.13-14.el9_8.2Fixed 2026-07-14RHSA-2026:39317
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibxml2-0:2.9.13-3.el9_2.12Fixed 2026-10-08RHSA-2026:79118
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionslibxml2-0:2.9.13-13.el9_4.2Fixed 2026-10-08RHSA-2026:79121
Red Hat Enterprise Linux 9.6 Extended Update Supportlibxml2-0:2.9.13-12.el9_6.3Fixed 2026-09-23RHSA-2026:70639
Cert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791371080Fixed 2026-10-13RHSA-2026:82304
Red Hat Enterprise Linux 6libxml2Out of support scope
Red Hat Enterprise Linux 7libxml2Out of support scope
Red Hat JBoss Core Serviceslibxml2Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
84 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6170.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-188-05Siemens SINEC OS2026-06-02Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON