VDB

CVE-2021-3682

CVE-2021-3682 PUBLISHED

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.

PackageEcosystemFixed in
qemuqemu6.1.0

Affected products

VendorProductVersions
n/aQEMUqemu 6.1.0-rc2
n/aQEMU6.1.0-rc2
alpineqemu0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›