# CVE-2021-3748: A use-after-free vulnerability was found in the virtio-net device of QEMU.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2022-03-23T19:46:40.000Z
- Modified: 2026-06-17T04:05:41.413Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- QEMU (virtio-net): Affects qemu v0.10.0 and above, Fixed In – v6.2.0-rc0 and above.
- qemu qemu: from 0.10.0 before 6.2.0
- debian debian_linux: 9.0; 10.0
- canonical ubuntu_linux: 18.04; 20.04; 21.10
- fedoraproject fedora: 34
- redhat enterprise_linux: 8.0
- redhat enterprise_linux_advanced_virtualization_eus: 8.4

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1998514> (issue-tracking, patch, third-party-advisory)
- <https://ubuntu.com/security/CVE-2021-3748> (patch, third-party-advisory)
- <https://github.com/qemu/qemu/commit/bedd7e93d01961fcb16a97ae45d93acf357e11f6> (patch, third-party-advisory)
- <https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg00388.html> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220425-0004/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202208-27> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3748](https://www.cve.org/CVERecord?id=CVE-2021-3748), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3748](https://nvd.nist.gov/vuln/detail/CVE-2021-3748), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3748 · Whole record: https://cve.day/CVE-2021-3748.json · Rebuilt by cve.day 2026-11-25T22:58:07.255Z
