Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807055 (CVE-2021-3682) - app-emulation/qemu: code execution via malicious SPICE client (CVE-2021-3682)
Summary: app-emulation/qemu: code execution via malicious SPICE client (CVE-2021-3682)
Alias: CVE-2021-3682
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
Whiteboard: B1 [ebuild]
Depends on:
Reported: 2021-08-07 22:44 UTC by John Helmert III
Modified: 2021-08-07 22:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-08-07 22:44:20 UTC
CVE-2021-3682 (

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.

Unreleased patch: