# CVE-2021-3527: A flaw was found in the USB redirector device (usb-redir) of QEMU.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2021-05-26T21:13:56.000Z
- Modified: 2026-06-17T04:05:17.787Z
- Weaknesses: CWE-770
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- QEMU: all versions
- qemu qemu: up to 6.0.0
- redhat enterprise_linux: 8.0
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1955695> (issue-tracking, patch, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2021/05/05/5> (mailing-list, patch, third-party-advisory)
- <https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986> (patch, third-party-advisory)
- <https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210708-0008/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-27> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3527](https://www.cve.org/CVERecord?id=CVE-2021-3527), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3527](https://nvd.nist.gov/vuln/detail/CVE-2021-3527), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3527 · Whole record: https://cve.day/CVE-2021-3527.json · Rebuilt by cve.day 2026-11-25T22:58:01.556Z
