---
title: CVE-2025-6170
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-6170
---

# CVE-2025-6170

Publication date 16 June 2025

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**2.5 · Low**

[Score breakdown](https://ubuntu.com/security/CVE-2025-6170#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libxml2 | 25.04 plucky | Fixed 2.12.7+dfsg+really2.9.14-0.4ubuntu0.2 |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Fixed 2.9.14+dfsg-1.3ubuntu3.4 |
| 22.04 LTS jammy | Fixed 2.9.13+dfsg-1ubuntu0.8 |
| 20.04 LTS focal | Fixed 2.9.10+dfsg-5ubuntu0.20.04.10+esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 2.9.4+dfsg1-6.1ubuntu1.9+esm4  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 2.9.3+dfsg1-1ubuntu0.7+esm9  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 2.9.1+dfsg1-3ubuntu4.13+esm8  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2025-6170#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libxml2 | * Upstream:   [069bcda](https://gitlab.gnome.org/GNOME/libxml2/-/commit/069bcda17d8194e9582c64dd4bc9dac99b015810) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

2.5 · Low

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 2.5 · Low |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-6170)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-6170)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-6170)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-6170)

### Related Ubuntu Security Notices (USN)

+ [USN-7694-1](https://usn.ubuntu.com/USN-7694-1)
+ libxml2 vulnerabilities
+ 14 August 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-6170>
* <https://gitlab.gnome.org/GNOME/libxml2/-/issues/941>
* <https://access.redhat.com/security/cve/CVE-2025-6170>
* <https://bugzilla.redhat.com/show_bug.cgi?id=2372952>
