Medium severity · published May 26, 2021
CVE-2021-3527
A flaw was found in the USB redirector device (usb-redir) of QEMU
5.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0; 10.0 · source: NVD
EL
Enterprise Linux · Redhat
8.0; 8.0 · source: NVD
QE
Qemu · Qemu
through 6.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3527
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3527
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1955695
Patch
https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c
Patch
https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986
Mailing List
https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html
Mailing List
https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
Third Party Advisory
https://security.gentoo.org/glsa/202208-27
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
