CVE-2021-3527 json
A flaw was found in the USB redirector device (usb-redir) of QEMU.
published 2021-05-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26843
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 1:5.2+dfsg-11
debian advisories DEBIAN-CVE-2021-3527
- qemu Ubuntu 18.04 LTS 1:2.11+dfsg-1ubuntu7.37
- qemu Ubuntu 20.04 LTS 1:4.2-3ubuntu6.17
- qemu Ubuntu 22.04 LTS 1:6.0+dfsg-2expubuntu1
- qemu Ubuntu Pro 14.04 LTS 2.0.0+dfsg-2ubuntu1.47+esm6
- qemu Ubuntu Pro 16.04 LTS 1:2.5+dfsg-5ubuntu10.51+esm4
ubuntu advisories UBUNTU-CVE-2021-3527
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- qemu SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 2.11.2-5.40.2
- qemu SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 3.1.1.1-80.40.1
- qemu SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.11.2-70.59.1
- qemu SLES 12 SP2-BCL 2.6.2-41.73.1
- qemu SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3 5.2.0-103.2
- qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-57.2
- qemu SLE Module for Server Applications 15 SP2, SLE Module for Basesystem 15 SP2, SLE Micro 5.0 4.2.1-11.28.1
- xen SLES 11 SP4-LTSS 4.4.4_50-61.67.1
suse advisories SUSE-SU-2021:14848-1SUSE-SU-2021:3635-1SUSE-SU-2021:3614-1SUSE-SU-2021:3613-1SUSE-SU-2021:3575-1SUSE-SU-2021:2858-1
- qemu openSUSE Tumbleweed 6.1.0-32.1
- qemu openSUSE Leap 15.3 3.1.1.1-80.40.1
- qemu openSUSE Leap 15.3 5.2.0-103.2
- qemu openSUSE Leap 15.2 4.2.1-lp152.9.20.1
- qemu-testsuite openSUSE Leap 15.2 4.2.1-lp152.9.20.1
- qemu-linux-user openSUSE Leap 15.2 4.2.1-lp152.9.20.1
- qemu openSUSE Leap 15.3 4.2.1-11.28.1
opensuse advisories openSUSE-SU-2024:11287-1openSUSE-SU-2021:3614-1openSUSE-SU-2021:2858-1openSUSE-SU-2021:1202-1openSUSE-SU-2021:2789-1
- qemu Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 6.0.0-r2
alpine advisories ALPINE-CVE-2021-3527
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3527 updated cvss 3.2
QEMU: usb: unbounded stack allocation in usbredir
-
Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-rhev, +6 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 moreaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tools, qemu-pr-helper, qemu-kvm-common, +16 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- n/a QEMU
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
gitlab.com
/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986
patch, third-party-advisory
-
gitlab.com
/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1955695
issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2021/05/05/5
mailing-list, patch, third-party-advisory
-
security.gentoo.org
/glsa/202208-27
vendor-advisory, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210708-0008/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/09/msg00000.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/09/msg00008.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-3527
- NVD CVE-2021-3527
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.