{"id":"CVE-2021-3527","aliases":["CVE-2021-3527"],"related":[],"kind":"vulnerability","state":"published","title":"A flaw was found in the USB redirector device (usb-redir) of QEMU.","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en el dispositivo redirector USB (usb-redir) de QEMU.&#xa0;Los paquetes USB pequeños son combinados en una única petición de transferencia grande para reducir la sobrecarga y mejorar el rendimiento.&#xa0;El tamaño combinado de la transferencia masiva es usado para asignar dinámicamente una matriz de longitud variable (VLA) en la pila sin la comprobación apropiada.&#xa0;Dado que el tamaño total no está limitado, un huésped malicioso podría usar este fallo para influir en la longitud de la matriz y causar a un proceso QEMU llevar a cabo una asignación excesiva en la pila, resultando en una denegación de servicio","source":"nvd"}],"published":"2021-05-26T21:13:56.000Z","modified":"2026-06-17T04:05:17.787Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"all versions","status":"affected"}],"product":"QEMU","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"6.0.0"}],"vendor":"qemu","product":"qemu","cpe":"cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695","tags":["issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/05/5","tags":["mailing-list","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0008/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202208-27","tags":["third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3527","url":"https://www.cve.org/CVERecord?id=CVE-2021-3527","licence":"CVE Terms of Use","modified":"2024-08-03T17:01:07.589Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3527","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3527","licence":"Public domain","modified":"2026-06-17T04:05:17.787Z"}],"updatedAt":"2026-11-25T22:58:01.556Z","epss":{"score":0.00371,"percentile":0.33055,"date":"2026-12-01T12:00:22.000Z"}}