CVE-2021-3975
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock.
02 Description
A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.64% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 76.0% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-08-23 00:00Z4 YR AGO
- Last updated
- 2024-08-03 17:09Z2 YR AGO
- Reserved
- 2021-11-18
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.1
- Document digest
- fb47d82279dd4bb3069a187d36bb4480b579aef7c0151fc6ae03ef357e19d8bf
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2024326
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2021-3975
- ubuntu.comhttps://ubuntu.com/security/CVE-2021-3975
- github.comhttps://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20221201-0002/
- lists.debian.org[debian-lts-announce] 20240401 [SECURITY] [DLA 3778-1] libvirt security updatehttps://lists.debian.org/debian-lts-announce/2024/04/msg00000.html
07 Fixed in
AlmaLinux 8
- SLOF Fixed in 20210217-1.module_el8.6.0+2880+7d9e3703
- hivex Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
- hivex-devel Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
- libguestfs Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-appliance Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-bash-completion Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-devel Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-gfs2 Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-gobject Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-gobject-devel Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-inspect-icons Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-java Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-java-devel Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-javadoc Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-man-pages-ja Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-man-pages-uk Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-rescue Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-rsync Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-tools Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-tools-c Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-winsupport Fixed in 8.6-1.module_el8.6.0+2880+7d9e3703
- libguestfs-xfs Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libiscsi Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-devel Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-utils Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libnbd Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
- libnbd-bash-completion Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
- libnbd-devel Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
- libtpms Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
- libtpms-devel Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
- libvirt Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-client Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-config-network Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-config-nwfilter Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-interface Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-network Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-nodedev Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-nwfilter Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-qemu Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
90 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- SLOF Fixed in 20210217-1.module_el8.6.0+2880+7d9e3703
- hivex Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
- hivex-devel Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
- libguestfs Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-appliance Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-bash-completion Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-devel Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-gfs2 Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-gobject Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-gobject-devel Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-inspect-icons Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-java Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-java-devel Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-javadoc Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-man-pages-ja Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-man-pages-uk Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-rescue Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-rsync Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-tools Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-tools-c Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libguestfs-winsupport Fixed in 8.6-1.module_el8.6.0+2880+7d9e3703
- libguestfs-xfs Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
- libiscsi Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-devel Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi-utils Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libnbd Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
- libnbd-bash-completion Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
- libnbd-devel Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
- libtpms Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
- libtpms-devel Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
- libvirt Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-client Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-config-network Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-config-nwfilter Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-interface Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-network Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-nodedev Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-nwfilter Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
- libvirt-daemon-driver-qemu Fixed in 8.0.0-5.module_el8.6.0+2880+7d9e3703
90 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libvirt Fixed in 7.6.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libvirt Fixed in 7.6.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libvirt Fixed in 7.6.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- libvirt Fixed in 4.0.0-1ubuntu8.21
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libvirt Fixed in 6.0.0-0ubuntu8.16
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- libvirt Fixed in 7.6.0-0ubuntu3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.