cve.bz

CVE-2021-3748 Use After Free

7.5 highEPSS 0.5%Fix available

High (7.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3748 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3748?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3748?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3748 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemufrom 0.10.0 before 6.2.0
debian:debian_linux9.0
debian:debian_linux10.0
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
canonical:ubuntu_linux21.10
fedoraproject:fedora34
redhat:enterprise_linux8.0
redhat:enterprise_linux_advanced_virtualization_eus8.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9qemu1:2.8+dfsg-6+deb9u17DLA-2970-1
Debian10qemu1:3.1+dfsg-8+deb10u9DLA-3099-1
Debian11qemu1:5.2+dfsg-11+deb11u1DSA-4980-1
Debian12, 13, 14qemu1:6.1+dfsg-6DEBIAN-CVE-2021-3748
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.39UBUNTU-CVE-2021-3748 USN-5307-1
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.21UBUNTU-CVE-2021-3748 USN-5307-1
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu5UBUNTU-CVE-2021-3748
Red Hatadvanced_virtualization:8.2::el8SLOF0:20191022-3.git899d9883.module+el8.2.0+5449+efc036ddRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8hivex, perl-hivex, ruby-hivex and 10 more0:1.3.18-20.module+el8.2.0+5588+63a201c3RHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libguestfs-winsupport0:8.2-2.module+el8.2.1+12663+d52ebc0dRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libiscsi, libiscsi-devel, libiscsi-utils and 3 more0:1.18.0-8.module+el8.2.0+4793+b09dd2fbRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libnbd, nbdfuse, libnbd-devel and 8 more0:1.2.2-1.module+el8.2.0+5644+32ac38d4RHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.7.0-1.20191018gitdc116933b7.module+el8.2.0+4793+b09dd2fbRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libvirt, libvirt-nss, libvirt-docs and 49 more0:6.0.0-25.6.module+el8.2.1+12457+868e9540RHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libvirt-dbus, libvirt-dbus-debuginfo, libvirt-dbus-debugsource0:1.3.0-2.module+el8.2.0+4793+b09dd2fbRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8libvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:6.0.0-1.module+el8.2.0+5453+31b2b136RHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8nbdkit, nbdkit-devel, nbdkit-server and 24 more0:1.16.2-4.module+el8.2.1+6710+effcb1dfRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8netcf, netcf-libs, netcf-devel and 3 more0:0.2.8-12.module+el8.2.0+4793+b09dd2fbRHSA-2021:5036
Red Hatadvanced_virtualization:8.2::el8perl-Sys-Virt, perl-Sys-Virt-debuginfo, perl-Sys-Virt-debugsource0:6.0.0-1.module+el8.2.0+5488+267def79RHSA-2021:5036
54 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moreqemu3.1.1.1-80.40.1SUSE-SU-2021:3614-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 moreqemu2.9.1-43.62.1SUSE-SU-2021:3653-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreqemu2.11.2-70.59.1SUSE-SU-2021:3613-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2qemu4.2.1-11.31.3SUSE-SU-2021:3604-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3qemu5.2.0-106.4SUSE-SU-2021:3605-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 moreqemu2.11.2-5.40.2SUSE-SU-2021:3635-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5qemu3.1.1.1-60.2SUSE-SU-2021:3519-1
openSUSELeap 15.2qemu, qemu-testsuite, qemu-linux-user4.2.1-lp152.9.23.1openSUSE-SU-2021:1461-1
openSUSELeap 15.3qemu3.1.1.1-80.40.1openSUSE-SU-2021:3614-1
openSUSELeap 15.3qemu4.2.1-11.31.3openSUSE-SU-2021:3604-1
openSUSELeap 15.3qemu5.2.0-106.4openSUSE-SU-2021:3605-1
openSUSELeap 15.3qemu-testsuite, qemu-linux-user5.2.0-106.3openSUSE-SU-2021:3605-1
openSUSETumbleweedqemu6.1.0-34.1openSUSE-SU-2024:11597-1
AlmaLinux8SLOF20210217-1.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8libguestfs-winsupport8.6-1.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 4 more1.6.0-5.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8libtpms, libtpms-devel0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8libvirt, libvirt-nss, libvirt-docs and 25 more8.0.0-5.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8nbdkit, nbdkit-devel, nbdkit-server and 16 more1.24.0-4.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8perl-Sys-Virt, python3-libvirt8.0.0-1.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
AlmaLinux8qemu-img, qemu-kvm, qemu-kvm-core and 12 more15:6.2.0-11.module_el8.6.0+2880+7d9e3703ALSA-2022:1759
6 more for AlmaLinux in the JSON.
Rocky Linux8hivex0:1.3.18-23.module+el8.6.0+847+b490afddRLSA-2022:1759
Rocky Linux8hivex0:1.3.18-23.module+el8.7.0+1084+97b81f61RLSA-2022:1759
Rocky Linux8libguestfs1:1.44.0-5.module+el8.6.0+1052+ff61d164.rockyRLSA-2022:1759
Rocky Linux8libguestfs-winsupport0:8.6-1.module+el8.6.0+847+b490afddRLSA-2022:1759
Rocky Linux8libguestfs-winsupport0:8.6-1.module+el8.7.0+1084+97b81f61RLSA-2022:1759
Rocky Linux8libiscsi0:1.18.0-8.module+el8.4.0+534+4680a14eRLSA-2022:1759
Rocky Linux8libiscsi0:1.18.0-8.module+el8.6.0+847+b490afddRLSA-2022:1759
Rocky Linux8libiscsi0:1.18.0-8.module+el8.7.0+1084+97b81f61RLSA-2022:1759
Rocky Linux8libnbd0:1.6.0-5.module+el8.6.0+847+b490afddRLSA-2022:1759
Rocky Linux8libnbd0:1.6.0-5.module+el8.7.0+1084+97b81f61RLSA-2022:1759
Rocky Linux8libtpms0:0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+1052+ff61d164RLSA-2022:1759
Rocky Linux8libvirt0:8.0.0-5.module+el8.6.0+847+b490afddRLSA-2022:1759
17 more for Rocky Linux in the JSON.
Azure Linux2qemu6.2.0-2AZL-9121

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of `qemu-kvm` as shipped with Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 8 Advanced Virtualization. A future update may address this flaw.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Advanced Virtualization for RHEL 8.2.1virt:8.2-8020120211120005046.863bb0dbFixed 2021-12-09RHSA-2021:5036
Advanced Virtualization for RHEL 8.2.1virt-devel:8.2-8020120211120005046.863bb0dbFixed 2021-12-09RHSA-2021:5036
Advanced Virtualization for RHEL 8.4.0.Zvirt:av-8040020211022000504.522a0ee4Fixed 2021-11-03RHSA-2021:4112
Advanced Virtualization for RHEL 8.4.0.Zvirt-devel:av-8040020211022000504.522a0ee4Fixed 2021-11-03RHSA-2021:4112
Red Hat Enterprise Linux 8virt-devel:rhel-8060020220408104655.d63f516dFixed 2022-05-10RHSA-2022:1759
Red Hat Enterprise Linux 8virt:rhel-8060020220408104655.d63f516dFixed 2022-05-10RHSA-2022:1759
Red Hat Enterprise Linux 6qemu-kvmOut of support scope
Red Hat Enterprise Linux 7qemu-kvmOut of support scope
Red Hat Enterprise Linux 7qemu-kvm-maOut of support scope
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmAffected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmAffected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat OpenStack Platform 10 (Newton)qemu-kvm-rhevOut of support scope
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3748.

References

Check your stackJSON