CVE-2021-3682 in Debian Linux and 2 more products
A flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2. It occurs when dropping packets during a bulk transfer from a SPICE client due to the packet queue being full. A malicious SPICE client could use this flaw to make QEMU call free() with faked heap chunk metadata, resultin...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low 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 |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 11.0 |
| Qemu | Qemu | 6.1.0 < 6.1.0 |
| Redhat | Enterprise Linux | 8.0 |
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 flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2. It occurs when dropping packets during a bulk transfer from a SPICE client due to the packet queue being full. A malicious SPICE client could use this flaw to make QEMU call free() with faked heap chunk metadata, resulting in a crash of QEMU or potential code execution with the privileges of the QEMU process on the host.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-3682 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-076130-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published | 2021-08-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-763: CWE-763
Analysis AI-written, not human-reviewed
A vulnerability in QEMU's USB redirector device emulation allows a malicious SPICE client to cause a crash or execute code with QEMU's privileges due to improper handling of packet queue overflow.
The attack vector involves a malicious SPICE client sending crafted packets that fill the packet queue, leading to a free() call with fake heap chunk metadata.
Questions
What is CVE-2021-3682?
A vulnerability in QEMU's USB redirector device emulation allows a malicious SPICE client to cause a crash or execute code with QEMU's privileges due to improper handling of packet queue overflow.
What is the CVSS score for CVE-2021-3682?
CVE-2021-3682 has CVSS 8.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 2.9%.
Is CVE-2021-3682 actively exploited?
No confirmed active exploitation of CVE-2021-3682 as of 2026-09-25.
How do I remediate CVE-2021-3682?
Priority: IMMEDIATE. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1989651
What systems are affected by CVE-2021-3682?
CVE-2021-3682 affects Debian Debian Linux; Qemu Qemu; Redhat Enterprise Linux.
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":"Debian","product":"Debian 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.