{"id":"CVE-2021-3975","published":"2022-08-23T00:00:00Z","modified":"2024-08-03T17:09:09Z","title":"A use-after-free flaw was found in libvirt","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01723,"percentile":0.78099,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024326","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3975","tags":[]},{"url":"https://ubuntu.com/security/CVE-2021-3975","tags":[]},{"url":"https://github.com/libvirt/libvirt/commit/1ac703a7d0789e46833f4013a3876c2e3af18ec7","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221201-0002/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html","tags":["mailing-list"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":15.62},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-17","earliestUrl":"https://github.com/yan5ui/ENV-CVE-2021-3975","repos":[{"name":"yan5ui/ENV-CVE-2021-3975","url":"https://github.com/yan5ui/ENV-CVE-2021-3975","stars":0,"created":"2026-06-17"}]},"first":{"date":"2026-06-17","source":"PoC-in-GitHub","url":"https://github.com/yan5ui/ENV-CVE-2021-3975"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"libvirt","versions":["Fixed in libvirt v7.1.0"]}],"euvd":{"id":"EUVD-2021-27180","exploited":false,"provenance":"source"}}