CVE-2021-3682
Reported by redhat · Published August 5, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| qemu | qemu | 6.1.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | QEMU | qemu 6.1.0-rc2 |
| n/a | QEMU | 6.1.0-rc2 |
| alpine | qemu | 0 |
Timeline
- Aug 5, 2021 CVE Published
- Aug 6, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (12 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (6 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3682
vulnetix vdb fixes CVE-2021-3682
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3682/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- [debian-lts-announce] 20210902 [SECURITY] [DLA 2753-1] qemu security update mailing-listx_refsource_MLIST
- DSA-4980 vendor-advisoryx_refsource_DEBIAN
- GLSA-202208-27 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update mailing-listx_refsource_MLIST