---
title: CVE-2019-10166
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-2019-10166
---

# CVE-2019-10166

Publication date 20 June 2019

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.8 · High**

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

Toggle side navigation

## Description

It was discovered that libvirtd, versions 4.x.x before 4.10.1 and 5.x.x
before 5.4.1, would permit readonly clients to use the
virDomainManagedSaveDefineXML() API, which would permit them to modify
managed save state files. If a managed save had already been created by a
privileged user, a local attacker could modify this file such that libvirtd
would execute an arbitrary program when the domain was resumed.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libvirt | 19.04 disco | Fixed in 5.0.0-1ubuntu2.4 |
| 18.10 cosmic | Fixed in 4.6.0-2ubuntu3.8 |
| 18.04 LTS bionic | Fixed in 4.0.0-1ubuntu8.12 |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [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-2019-10166#patch-details)

### 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 |
| --- | --- |
| libvirt | * Upstream:   <https://libvirt.org/git/?p=libvirt.git;a=commit;h=db0b78457f183e4c7ac45bc94de86044a1e2056a> * Upstream:   <http://libvirt.org/git/?p=libvirt.git;a=commit;h=a064d492272bcb0029b140ec4e18fce1ac0ec5b2> * Upstream:   <http://libvirt.org/git/?p=libvirt.git;a=commit;h=00e673c93fc3d0cfed274cc7a1ec2c52260c8262> * Upstream:   <http://libvirt.org/git/?p=libvirt.git;a=commit;h=d9a1f3debad411756f53ab8ab81e44ab0bb50e0a> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-4047-1](https://usn.ubuntu.com/USN-4047-1)
+ libvirt vulnerabilities
+ 8 July 2019

### Other references

* <https://rhn.redhat.com/errata/RHSA-2019-1579.html>
* <https://access.redhat.com/libvirt-privesc-vulnerabilities>
* <https://security.libvirt.org/2019/0005.html>
* <https://www.cve.org/CVERecord?id=CVE-2019-10166>
