CVE-2019-10166 json
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 virDomainMan…
published 2019-08-02 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-2199
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- redhat libvirt 4.10.1, 5.4.1
- libvirt Debian 14, Debian 13, Debian 12 5.0.0-4
debian advisories DEBIAN-CVE-2019-10166
- libvirt Ubuntu 18.04 LTS 4.0.0-1ubuntu8.12
ubuntu advisories UBUNTU-CVE-2019-10166
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- SLOF RHEL 8 20171214-5.gitfa98132.module+el8.0.0.z+3418+a72cf898
- hivex RHEL 8 1.3.15-6.module+el8.0.0.z+3418+a72cf898
- netcf RHEL 8 0.2.8-10.module+el8.0.0.z+3418+a72cf898
- nbdkit RHEL 8 1.4.2-4.module+el8.0.0.z+3418+a72cf898
- libssh2 RHEL 8 1.8.0-7.module+el8.0.0.z+3418+a72cf898.1
- libvirt RHEL 8 4.5.0-23.3.module+el8.0.0.z+3418+a72cf898
- seabios RHEL 8 1.11.1-3.module+el8.0.0.z+3418+a72cf898
- sgabios RHEL 8 1:0.20170427git-2.module+el8.0.0.z+3418+a72cf898
red hat advisories RHSA-2019:1580RHSA-2019:1699RHSA-2019:1579RHSA-2019:1762
- libvirt SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 5.1.0-8.6.1
- libvirt SLE Module for Server Applications 15, SLE Module for Basesystem 15 4.0.0-9.27.1
- libvirt SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 4.0.0-8.15.2
suse advisories SUSE-SU-2019:1643-1SUSE-SU-2019:1637-1SUSE-SU-2019:1599-1
- libvirt openSUSE Tumbleweed 7.7.0-2.1
- libvirt openSUSE Leap 15.1 5.1.0-lp151.7.3.1
- libvirt openSUSE Leap 15.0 4.0.0-lp150.7.18.2
opensuse advisories openSUSE-SU-2024:11008-1openSUSE-SU-2019:1753-1openSUSE-SU-2019:1672-1
- libvirt Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 5.5.0-r0
alpine advisories ALPINE-CVE-2019-10166
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-10166 updated cvss 7.8
libvirt: virDomainManagedSaveDefineXML API exposed to readonly clients
-
Red Hat Enterprise Linux 8 Advanced Virtualization hivex 1.3.15-6.module+el8.0.0.z+3438+2851622e, nbdkit 1.4.2-4.module+el8.0.0.z+3438+2851622e, netcf 0.2.8-10.module+el8.0.0.z+3438+2851622e, seabios 1.12.0-1.module+el8.0.0.z+3438+2851622e, libiscsi 1.18.0-6.module+el8.0.0.z+3438+2851622e, libssh2 1.8.0-7.module+el8.0.0.z+3438+2851622e.1, +83 morefixed: vendor fix RHSA-2019:1762
-
Red Hat Enterprise Linux AppStream (v. 8) hivex 1.3.15-6.module+el8.0.0.z+3418+a72cf898, nbdkit 1.4.2-4.module+el8.0.0.z+3418+a72cf898, netcf 0.2.8-10.module+el8.0.0.z+3418+a72cf898, seabios 1.11.1-3.module+el8.0.0.z+3418+a72cf898, libiscsi 1.18.0-6.module+el8.0.0.z+3418+a72cf898, libssh2 1.8.0-7.module+el8.0.0.z+3418+a72cf898.1, +82 morefixed: vendor fix RHSA-2019:1580
-
Red Hat Enterprise Linux Client (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-libs 4.5.0-10.el7_6.12, libvirt-client 4.5.0-10.el7_6.12, libvirt-daemon 4.5.0-10.el7_6.12, libvirt-daemon-kvm 4.5.0-10.el7_6.12, libvirt-bash-completion 4.5.0-10.el7_6.12, +18 more Red Hat Enterprise Linux Client Optional (v. 7) libvirt-nss 4.5.0-10.el7_6.12, libvirt-admin 4.5.0-10.el7_6.12, libvirt-daemon-lxc 4.5.0-10.el7_6.12, libvirt-login-shell 4.5.0-10.el7_6.12, libvirt-lock-sanlock 4.5.0-10.el7_6.12 Red Hat Enterprise Linux ComputeNode (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-libs 4.5.0-10.el7_6.12, libvirt-client 4.5.0-10.el7_6.12, libvirt-bash-completion 4.5.0-10.el7_6.12 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-nss 4.5.0-10.el7_6.12, libvirt-admin 4.5.0-10.el7_6.12, libvirt-daemon 4.5.0-10.el7_6.12, libvirt-daemon-kvm 4.5.0-10.el7_6.12, libvirt-daemon-lxc 4.5.0-10.el7_6.12, +20 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-libs 4.5.0-10.el7_6.12, libvirt-client 4.5.0-10.el7_6.12, libvirt-daemon 4.5.0-10.el7_6.12, libvirt-daemon-kvm 4.5.0-10.el7_6.12, libvirt-bash-completion 4.5.0-10.el7_6.12, +16 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-nss 4.5.0-10.el7_6.12, libvirt-libs 4.5.0-10.el7_6.12, libvirt-admin 4.5.0-10.el7_6.12, libvirt-client 4.5.0-10.el7_6.12, libvirt-daemon 4.5.0-10.el7_6.12, +21 morefixed: vendor fix RHSA-2019:1579
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-libs 4.5.0-10.el7_6.12, libvirt-client 4.5.0-10.el7_6.12, libvirt-daemon 4.5.0-10.el7_6.12, libvirt-daemon-kvm 4.5.0-10.el7_6.12, libvirt-bash-completion 4.5.0-10.el7_6.12, +18 more Red Hat Enterprise Linux Server Optional (v. 7) libvirt-nss 4.5.0-10.el7_6.12, libvirt-admin 4.5.0-10.el7_6.12, libvirt-daemon-lxc 4.5.0-10.el7_6.12, libvirt-login-shell 4.5.0-10.el7_6.12, libvirt-lock-sanlock 4.5.0-10.el7_6.12 Red Hat Enterprise Linux Workstation (v. 7) libvirt 4.5.0-10.el7_6.12, libvirt-libs 4.5.0-10.el7_6.12, libvirt-client 4.5.0-10.el7_6.12, libvirt-daemon 4.5.0-10.el7_6.12, libvirt-daemon-kvm 4.5.0-10.el7_6.12, libvirt-bash-completion 4.5.0-10.el7_6.12, +18 more Red Hat Enterprise Linux Workstation Optional (v. 7) libvirt-nss 4.5.0-10.el7_6.12, libvirt-admin 4.5.0-10.el7_6.12, libvirt-daemon-lxc 4.5.0-10.el7_6.12, libvirt-login-shell 4.5.0-10.el7_6.12, libvirt-lock-sanlock 4.5.0-10.el7_6.12 -
Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.3.4-20190620.3.el7_6, redhat-virtualization-host-image-update 4.3.4-20190620.3.el7_6 Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.3.4-1.el7ev, redhat-virtualization-host-image-update-placeholder 4.3.4-1.el7evfixed: vendor fix RHSA-2019:1699
-
Red Hat Enterprise Linux 5 libvirt Red Hat Enterprise Linux 6 libvirt, libvirt-client, libvirt-python, libvirt-lock-sanlock Red Hat Storage 3 libvirt-lock-sanlocknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- libvirt libvirt
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
security.gentoo.org
/glsa/202003-18
vendor-advisory, third-party-advisory
-
access.redhat.com
/libvirt-privesc-vulnerabilities
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-10166
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2019-10166
- NVD CVE-2019-10166
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.