CVE-2025-6170: Libxml2: stack buffer overflow in xmllint interactive shell command handling
Vulnerability summary
CVE-2025-6170 is a low (CVSS 2.5) Stack-based Buffer Overflow vulnerability in redhat enterprise_linux. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 28.9% of scored vulnerabilities.
Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 9Timeline
- 16-06-2025PublishedVulnerability first disclosed.
- 06-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- OSV · Red hatEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- NVDNIST2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat10 products
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0 | 10.0
- jboss_core_servicesna
- openshift_container_platform4.0
- libxml2< 0:2.9.7-21.el8_10.6 | < 0:2.12.5-10.el10_2.2 | < 0:2.9.13-14.el9_8.2 | < 0:2.12.5-9.el10_0.2 | < 0:2.9.13-12.el9_6.3 | < 0:2.9.13-3.el9_2.12 | < 0:2.9.7-16.el8_8.15 | < 0:2.9.7-13.el8_6.15 | < 0:2.9.13-13.el9_4.2
- libxml2-debuginfo< 0:2.9.7-21.el8_10.6 | < 0:2.12.5-10.el10_2.2 | < 0:2.9.13-14.el9_8.2 | < 0:2.12.5-9.el10_0.2 | < 0:2.9.13-12.el9_6.3 | < 0:2.9.13-3.el9_2.12 | < 0:2.9.7-16.el8_8.15 | < 0:2.9.7-13.el8_6.15 | < 0:2.9.13-13.el9_4.2
Alpine1 product
- libxml2< 2.13.9-r0
Debian1 product
- libxml2< 2.9.14+dfsg-1.3~deb12u3 | < 2.12.7+dfsg+really2.9.14-2.1
Ubuntu1 product
- libxml2< 2.9.1+dfsg1-3ubuntu4.13+esm8 | < 2.9.3+dfsg1-1ubuntu0.7+esm9 | < 2.9.4+dfsg1-6.1ubuntu1.9+esm4 | < 2.9.10+dfsg-5ubuntu0.20.04.10+esm1 | < 2.9.13+dfsg-1ubuntu0.8 | < 2.9.14+dfsg-1.3ubuntu3.4
Xmlsoft1 product
- libxml2na
5 vendors · 14 products
References
101 linksShow all 100 references
- access.redhat.com/security/cve/CVE-2025-6170VDB EntryX Refsource REDHATREPORTMitigationThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2372952Issue TrackingX Refsource REDHATREPORTThird Party Advisory
Showing 100 of 101.