# CVE-2021-3416: A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0.

- Severity: Medium 6.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/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.46%, higher than 31% of CVEs (2026-11-30)
- Published: 2021-03-18T19:53:29.000Z
- Modified: 2026-06-17T04:05:03.087Z
- Weaknesses: CWE-835
- Assigned by: redhat

## Description

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host resulting in DoS scenario.

(As written by CVE List.)

## Affected

- QEMU: versions up to and including 5.2.0
- qemu qemu: up to 5.2.0
- fedoraproject fedora: 33
- redhat enterprise_linux: 6.0; 7.0; 8.0
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/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://bugzilla.redhat.com/show_bug.cgi?id=1932827> (issue-tracking, patch, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2021/02/26/1> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210507-0002/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202208-27> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-3416 · Whole record: https://cve.day/CVE-2021-3416.json · Rebuilt by cve.day 2026-11-25T22:58:00.336Z
