---
title: "CVE-2021-3527"
canonical_url: "https://pkgseek.com/security/CVE-2021-3527"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-3527

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.

CVE-2021-3527 is rated MEDIUM (5.5), with 15 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 15
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | qemu | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-block-extra | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-kvm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-arm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-common | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-data | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-gui | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-mips | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-misc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-ppc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-s390x | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-sparc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-x86 | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-utils | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
