# CVE-2025-6170: Libxml2: stack buffer overflow in xmllint interactive shell command handling

- Priority: **Routine**
- Reason: Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-16 · Modified: 2026-11-06
- Aliases: ALPINE-CVE-2025-6170, RHSA-2026:36734, RHSA-2026:39304, RHSA-2026:39317, RHSA-2026:70596, RHSA-2026:70639, RHSA-2026:79118, RHSA-2026:79119, RHSA-2026:79120, RHSA-2026:79121, UBUNTU-CVE-2025-6170, DEBIAN-CVE-2025-6170
- Record: https://cvemate.com/vulnerability/CVE-2025-6170 · JSON: https://cvemate.com/vulnerability/CVE-2025-6170/json

## Description

```text
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.
```

## Signals

- CVSS: 2.5 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- EPSS: 0.337%, percentile 28.994%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libxml2 (Alpine Linux): \< 2.13.9-r0
- debian libxml2 (Debian): \< 2.9.14+dfsg-1.3~deb12u3 \| \< 2.12.7+dfsg+really2.9.14-2.1
- ubuntu libxml2 (Ubuntu): \< 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
- redhat enterprise\_linux: 6.0 \| 7.0 \| 8.0 \| 9.0 \| 10.0
- redhat jboss\_core\_services: na
- redhat openshift\_container\_platform: 4.0
- redhat libxml2 (Red Hat): \< 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
- redhat libxml2-debuginfo (Red Hat): \< 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
- redhat libxml2-debugsource (Red Hat): \< 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
- redhat libxml2-devel (Red Hat): \< 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
- redhat libxml2-static (Red Hat): \< 0:2.12.5-10.el10\_2.2 \| \< 0:2.12.5-9.el10\_0.2
- redhat python3-libxml2 (Red Hat): \< 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
- redhat python3-libxml2-debuginfo (Red Hat): \< 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
- xmlsoft libxml2: na

## References (first 20 of 101)

- <https://access.redhat.com/errata/RHSA-2026:36734>
- <https://access.redhat.com/errata/RHSA-2026:39304>
- <https://access.redhat.com/errata/RHSA-2026:39317>
- <https://access.redhat.com/errata/RHSA-2026:44481>
- <https://access.redhat.com/errata/RHSA-2026:46836>
- <https://access.redhat.com/errata/RHSA-2026:53371>
- <https://access.redhat.com/errata/RHSA-2026:58981>
- <https://access.redhat.com/errata/RHSA-2026:70596>
- <https://access.redhat.com/errata/RHSA-2026:70639>
- <https://access.redhat.com/errata/RHSA-2026:72394>
- <https://access.redhat.com/errata/RHSA-2026:72395>
- <https://access.redhat.com/errata/RHSA-2026:72399>
- <https://access.redhat.com/errata/RHSA-2026:72470>
- <https://access.redhat.com/errata/RHSA-2026:72475>
- <https://access.redhat.com/errata/RHSA-2026:72476>
- <https://access.redhat.com/errata/RHSA-2026:72502>
- <https://access.redhat.com/errata/RHSA-2026:73859>
- <https://access.redhat.com/errata/RHSA-2026:73909>
- <https://access.redhat.com/errata/RHSA-2026:73929>
- <https://access.redhat.com/errata/RHSA-2026:73930>

---

Data as of 2026-12-05T04:22:52.213Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
