CVE-2020-12430
libvirt: memory leak in domstats may allow read-only user to perform DoS attack
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 19, 2020
Updated · June 28, 2026
Description
A memory leak flaw was found in the libvirt API that is responsible for retrieving domain stats when managing QEMU guests. This flaw allows unprivileged users with a read-only connection to cause a memory leak in the domstats command, resulting in a potential denial of service.
Statement
Versions of libvirt as shipped with Red Hat Enterprise Linux are marked as "notaffected" because they do not include the vulnerable code, which was introduced in a later version of the package. Specifically, the affected function qemuDomainGetStatsIOThread() was introduced in libvirt upstream version 4.10.0.
RHEL Advanced Virtualization is affected by this flaw as it ships a more recent version of the package.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-401 · Missing Release of Memory after Effective Lifetime