# CVE-2020-27661: A divide-by-zero issue was found in dwc2handlepacket in hw/usb/hcd-dwc2.c in the hcd-dwc2 USB host controller emulation of QEMU.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2021-06-02T15:25:19.000Z
- Modified: 2026-06-17T03:09:27.427Z
- Weaknesses: CWE-369
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- qemu qemu: up to 5.1.1

## Every score

- NVD: 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`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://lists.nongnu.org/archive/html/qemu-devel/2020-10/msg04263.html> (mailing-list, patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1890653> (issue-tracking, patch, third-party-advisory)
- <https://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg1770368.html>
- <https://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=bea2a9e3e00b275dc40cfa09c760c715b8753e03>
- <https://security.netapp.com/advisory/ntap-20210720-0010/> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-27661](https://www.cve.org/CVERecord?id=CVE-2020-27661), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27661](https://nvd.nist.gov/vuln/detail/CVE-2020-27661), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27661 · Whole record: https://cve.day/CVE-2020-27661.json · Rebuilt by cve.day 2026-11-25T22:57:58.006Z
