Buffer overflow in Xmlsoft Libxml2
CVE-2025-6170
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.5 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 27.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (8-cm/kube-dump, Lekssays/Lekssays, meyayl/docker-languagetool, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2026:7519 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2025-6170 (Third Party Advisory, Mitigation, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- gitlab.gnome.org/GNOME/libxml2/-/issues/941
- lists.debian.org/debian-lts-announce/2025/07/msg00014.html
- cert-portal.siemens.com/productcert/html/ssa-253495.html
- access.redhat.com/errata/RHSA-2026:36734 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:39304 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:39317 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:44481 (vendor-advisory)