CVE-2021-3682

published 5 Aug 2021 · updated 3 Aug 2024

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.

8.5HighCVSS 8.5EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=qemu 6.1.0-rc2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3682 severity on Zeptric[![CVE-2021-3682](https://zeptric.io/badge/cve/CVE-2021-3682.svg)](https://zeptric.io/cve/CVE-2021-3682)