Skip to main content
Network Thinking Solutions Logo

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. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down.

All CVEs
CVE-2021-3975Published 8/23/2022

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. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down.

Vendor advisory
CVSS6.5Medium

Overview

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. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

Published
8/23/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
libvirt
redhat
< 7.1.0

Verify advisory

Source
ubuntu linux
canonical
21.10

Verify advisory

Source
fedora
fedoraproject
35

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux eus
redhat
8.6

Verify advisory

Source
enterprise linux for ibm z systems
redhat
8.0

Verify advisory

Source
enterprise linux for ibm z systems eus
redhat
8.6

Verify advisory

Source
enterprise linux for power little endian
redhat
8.0

Verify advisory

Source
enterprise linux for power little endian eus
redhat
8.6

Verify advisory

Source
enterprise linux server for power little endian update services for sap solutions
redhat
8.6

Verify advisory

Source
enterprise linux server tus
redhat
8.6

Verify advisory

Source
codeready linux builder
redhat
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
10.0

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
ontap select deploy administration utility
netapp
Range not specified — verify advisory

Verify advisory

Source
libvirt
n/a
Fixed in libvirt v7.1.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.