CVE-2020-27661
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB...
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
CVE-2020-27661- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
CVE-2020-27661- Updated
- 2026-11-02
EUVDEUVD-2020-20168 No score
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
EUVD-2020-20168- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pwg2-p5wp-g395
6.5
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB...
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
GHSA-pwg2-p5wp-g395- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-27661
6.5
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
ALPINE-CVE-2020-27661- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2020-27661
6.5
CVE-2020-27661 does not affect BellSoft software
- Record
BELL-CVE-2020-27661- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
6.5
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
CVE-2020-27661- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-27661
6.5
A divide-by-zero issue was found in dwc2_handle_packet in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
- Record
DEBIAN-CVE-2020-27661- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
qemuAlpine:v3.16 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.17 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.18 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.19 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.20 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.21 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.22 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.23 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuAlpine:v3.24 |
before 5.2.0-r0 | 5.2.0-r0 |
qemuDebian:12 |
before 1:5.2+dfsg-1 | 1:5.2+dfsg-1 |
qemuDebian:13 |
before 1:5.2+dfsg-1 | 1:5.2+dfsg-1 |
qemuDebian:14 |
before 1:5.2+dfsg-1 | 1:5.2+dfsg-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-27661 is a medium vulnerability (CVSS 6.5) in Qemu, published June 2, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.31%, the 24th percentile. Fixed in qemu 5.2.0-r0.
References
lists.nongnu.org/archive/html/qemu-devel/2020-10/msg04263.html
bugzilla.redhat.com/show_bug.cgi?id=1890653
mail-archive.com/debian-bugs-dist%40lists.debian.org/msg1770368.html
git.qemu.org?p=qemu.git%3Ba=commit%3Bh=bea2a9e3e00b275dc40cfa09c760c715b8753e03
security.netapp.com/advisory/ntap-20210720-0010
nvd.nist.gov/vuln/detail/CVE-2020-27661
Show 6 moreShow less
git.qemu.org?p=qemu.git;a=commit;h=bea2a9e3e00b275dc40cfa09c760c715b8753e03
mail-archive.com/[email protected]/msg1770368.html
github.com/advisories/GHSA-pwg2-p5wp-g395
security.alpinelinux.org/vuln/CVE-2020-27661
docs.bell-sw.com/security/cves/CVE-2020-27661
security-tracker.debian.org/tracker/CVE-2020-27661