{"api_version":"1","generated_at":"2026-04-23T05:07:32+00:00","cve":"CVE-2021-3527","urls":{"html":"https://cve.report/CVE-2021-3527","api":"https://cve.report/api/cve/CVE-2021-3527.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3527","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3527"},"summary":{"title":"CVE-2021-3527","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-05-26 22:15:00","updated_at":"2022-09-30 15:10:00"},"problem_types":["CWE-770"],"metrics":[],"references":[{"url":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","name":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","refsource":"MISC","tags":[],"title":"usb/redir: avoid dynamic stack allocation (CVE-2021-3527) (7ec54f9e) · Commits · QEMU / QEMU · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20210708-0008/","name":"https://security.netapp.com/advisory/ntap-20210708-0008/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-3527 QEMU Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3099-1] qemu security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695","refsource":"MISC","tags":[],"title":"1955695 – (CVE-2021-3527) CVE-2021-3527 QEMU: usb: unbounded stack allocation in usbredir","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html","name":"[debian-lts-announce] 20210902 [SECURITY] [DLA 2753-1] qemu security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2753-1] qemu security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","name":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","refsource":"MISC","tags":[],"title":"usb: limit combined packets to 1 MiB (CVE-2021-3527) (05a40b17) · Commits · QEMU / QEMU · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202208-27","name":"GLSA-202208-27","refsource":"GENTOO","tags":[],"title":"QEMU: Multiple Vulnerabilities (GLSA 202208-27) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.openwall.com/lists/oss-security/2021/05/05/5","name":"https://www.openwall.com/lists/oss-security/2021/05/05/5","refsource":"MISC","tags":[],"title":"oss-security - CVE-2021-3527 QEMU: usb: unbounded stack allocation in usbredir","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3527","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3527","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3527","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3527","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3527","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"qemu","cpe5":"qemu","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3527","vulnerable":"1","versionEndIncluding":"6.0.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"qemu","cpe5":"qemu","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3527","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"-","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3527","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"advanced_virtualization","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3527","qid":"159368","title":"Oracle Enterprise Linux Security Update for qemu (ELSA-2021-9425)"},{"cve":"CVE-2021-3527","qid":"159465","title":"Oracle Enterprise Linux Security Update for qemu (ELSA-2021-9425)"},{"cve":"CVE-2021-3527","qid":"159566","title":"Oracle Enterprise Linux Security Update for kvm_utils (ELSA-2021-9568)"},{"cve":"CVE-2021-3527","qid":"178782","title":"Debian Security Update for qemu (DLA 2753-1)"},{"cve":"CVE-2021-3527","qid":"180258","title":"Debian Security Update for qemu (CVE-2021-3527)"},{"cve":"CVE-2021-3527","qid":"180995","title":"Debian Security Update for qemu (DLA 3099-1)"},{"cve":"CVE-2021-3527","qid":"198432","title":"Ubuntu Security Notification for QEMU vulnerabilities (USN-5010-1)"},{"cve":"CVE-2021-3527","qid":"355320","title":"Amazon Linux Security Advisory for qemu : ALAS2-2023-2061"},{"cve":"CVE-2021-3527","qid":"501909","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2021-3527","qid":"502355","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2021-3527","qid":"671198","title":"EulerOS Security Update for qemu (EulerOS-SA-2022-1034)"},{"cve":"CVE-2021-3527","qid":"671203","title":"EulerOS Security Update for qemu (EulerOS-SA-2022-1014)"},{"cve":"CVE-2021-3527","qid":"710604","title":"Gentoo Linux QEMU Multiple Vulnerabilities (GLSA 202208-27)"},{"cve":"CVE-2021-3527","qid":"750995","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:2813-1)"},{"cve":"CVE-2021-3527","qid":"751013","title":"OpenSUSE Security Update for qemu (openSUSE-SU-2021:2789-1)"},{"cve":"CVE-2021-3527","qid":"751053","title":"OpenSUSE Security Update for qemu (openSUSE-SU-2021:1202-1)"},{"cve":"CVE-2021-3527","qid":"751068","title":"OpenSUSE Security Update for qemu (openSUSE-SU-2021:2858-1)"},{"cve":"CVE-2021-3527","qid":"751322","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:3614-1)"},{"cve":"CVE-2021-3527","qid":"751323","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:3613-1)"},{"cve":"CVE-2021-3527","qid":"751330","title":"OpenSUSE Security Update for qemu (openSUSE-SU-2021:3614-1)"},{"cve":"CVE-2021-3527","qid":"751338","title":"SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2021:3635-1)"},{"cve":"CVE-2021-3527","qid":"900156","title":"CBL-Mariner Linux Security Update for qemu-kvm 4.2.0"},{"cve":"CVE-2021-3527","qid":"903539","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for qemu-kvm (4267)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-3527","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-770","cweId":"CWE-770"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"QEMU","version":{"version_data":[{"version_affected":"=","version_value":"all versions"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695"},{"url":"https://www.openwall.com/lists/oss-security/2021/05/05/5","refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2021/05/05/5"},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","refsource":"MISC","name":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986"},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","refsource":"MISC","name":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c"},{"url":"https://security.gentoo.org/glsa/202208-27","refsource":"MISC","name":"https://security.gentoo.org/glsa/202208-27"},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html"},{"url":"https://security.netapp.com/advisory/ntap-20210708-0008/","refsource":"MISC","name":"https://security.netapp.com/advisory/ntap-20210708-0008/"}]}},"nvd":{"publishedDate":"2021-05-26 22:15:00","lastModifiedDate":"2022-09-30 15:10:00","problem_types":["CWE-770"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","versionEndIncluding":"6.0.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3527","Ordinal":"207244","Title":"CVE-2021-3527","CVE":"CVE-2021-3527","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3527","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3527","Ordinal":"2","NoteData":"2021-05-26","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3527","Ordinal":"3","NoteData":"2021-09-02","Type":"Other","Title":"Modified"}]}}}