CVE-2021-3748 in Canonical Ubuntu Linux and 5 more products
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 servi...
Affects 6 products from 5 vendors. Facts below cite their sources.
Requires local access, high complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 18.04 20.04 21.10 |
| Debian | Debian Linux | 9.0 10.0 |
| Fedoraproject | Fedora | 34 |
| Qemu | Qemu | ≥ 0.10.0, < 6.2.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux Advanced Virtualization Eus | 8.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-3748 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-069767-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2022-03-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A use-after-free vulnerability in the virtio-net device of QEMU could lead to a denial of service or code execution on the host with QEMU privileges.
The vulnerability occurs 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 exploit this flaw to crash QEMU or execute code on the host.
Questions
What is CVE-2021-3748?
A use-after-free vulnerability in the virtio-net device of QEMU could lead to a denial of service or code execution on the host with QEMU privileges.
What is the CVSS score for CVE-2021-3748?
CVE-2021-3748 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.5%.
Is CVE-2021-3748 actively exploited?
No confirmed active exploitation of CVE-2021-3748 as of 2026-09-25.
How do I remediate CVE-2021-3748?
Priority: HIGH. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1998514
What systems are affected by CVE-2021-3748?
CVE-2021-3748 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Qemu Qemu; Redhat Enterprise Linux, Enterprise Linux Advanced Virtualization Eus.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.