CVE-2021-3527
CWE-770Published: May 26, 2021· Updated: Jun 17, 2026
Official Description
A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service.
Technical Analysis
CVE-2021-3527 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.5.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (16)
Quick Facts
Related CVEs (CWE-770)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-3527 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts