Libxml2: stack buffer overflow in xmllint interactive shell command handling
CVE-2025-6170Published 16 Jun 2025, 15:24 UTC
Real-world risk
0.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| libxml2Ubiquitous | < 2.14.5 | 2.14.5 |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Cert Manager support for Red Hat OpenShift release 1.17Common | not stated | — |
| Red Hat AI Inference Server 3.2Common | not stated | — |
| Red Hat Discovery 1Common | not stated | — |
| Red Hat Hardened ImagesCommon | not stated | — |
| Red Hat Update Infrastructure 5Common | not stated | — |
| Red Hat Insights proxy 1.5Niche | not stated | — |
| Red Hat JBoss Core ServicesNiche | not stated | — |
What to do
Update to a fixed version: 2.14.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.158
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.1575 × threat 0.850.402
- Rounded to one decimal between 0.1 and 100.4
Exploitation and evidence timeline
- 16 Jun 2025 Published
- 3 Dec 2026 Risk 0.4 (cvss fallback)
Weakness
CWE-121
References
- https://access.redhat.com/errata/RHSA-2026:36734redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39304redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39317redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:44481redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:46836redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53371redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:58981redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:70596redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:70639redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72394redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72395redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72399redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72470redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72475redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72476redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:72502redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73859redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73909redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73929redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73930redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73959redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73960redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73961redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73962redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74359redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74360redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74361redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74362redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74363redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74364redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74365redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74450redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74458redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74459redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74460redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74461redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74462redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74463redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74674redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74677redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74678redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74679redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74681redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74683redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74685redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74687redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74688redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:74771redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:7519redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75652redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75654redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75655redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75657redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75658redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75659redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:75660redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:76042redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:79118redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:79119redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:79120redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:79121redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:80756redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:81127redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82059redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82061redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82066redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82304redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82322redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82336redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82347redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82354redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82368redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82371redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82372redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82415redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82857redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82888redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:92449redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:92452redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:93473redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-6170redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2372952issue-tracking, redhat
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/941
- https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
- CVE-2025-6170 on CVE.org