VDB

CVE-2025-6170

CVE-2025-6170 PUBLISHED CVSS 2.5 LOW

Libxml2: stack buffer overflow in xmllint interactive shell command handling

Reported by redhat · Published June 16, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libxml2-debuginfoerrata.rockylinux.org2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8
libxml2-debugsourceerrata.rockylinux.org2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8
libxml2-develerrata.rockylinux.org2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8
python3-libxml2-debuginfoerrata.rockylinux.org2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8
libxml2errata.rockylinux.org2.12.5-10.el10, 2.9.13-14.el9, 2.9.7-21.el8
libxml2Alpine2.13.9-r0
libxml2gitlab.gnome.org2.14.5
python3-libxml2errata.rockylinux.org2.9.13-14.el9, 2.9.7-21.el8
libxml2-staticerrata.rockylinux.org2.12.5-10.el10

Risk scores

CVSS 3.1
2.5
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 100:2.12.5-10.el10_2.2
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support0:2.12.5-9.el10_0.2
Red HatRed Hat Enterprise Linux 80:2.9.7-21.el8_10.6
Red HatRed Hat Enterprise Linux 80:2.9.7-21.el8_10.6
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:2.9.7-9.el8_4.20
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:2.9.7-9.el8_4.20
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:2.9.7-13.el8_6.15
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:2.9.7-13.el8_6.15
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:2.9.7-16.el8_8.15
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:2.9.7-16.el8_8.15
Red HatRed Hat Enterprise Linux 90:2.9.13-14.el9_8.2
Red HatRed Hat Enterprise Linux 90:2.9.13-14.el9_8.2
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:2.9.13-3.el9_2.12
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:2.9.13-13.el9_4.2
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support0:2.9.13-12.el9_6.3
Red HatCert Manager support for Red Hat OpenShift release 1.171791371080
Red HatCert Manager support for Red Hat OpenShift release 1.171791371069
Red HatCert Manager support for Red Hat OpenShift release 1.171791788287
Red HatCert Manager support for Red Hat OpenShift release 1.171791378395

…and 192 more

Timeline

  • Jun 16, 2025 CVE Published
  • Jun 17, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (84 in total, the first dated here)
  • Jul 8, 2026 Distribution Patch (85 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-6170
vulnetix vdb fixes CVE-2025-6170

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6170/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 65 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›