# CVE-2021-4206: A flaw was found in the QXL display device emulation in QEMU.

- Severity: High 8.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/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.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-29T16:19:09.000Z
- Modified: 2026-06-17T04:19:13.013Z
- Weaknesses: CWE-120, CWE-131, CWE-190
- Assigned by: redhat

## Description

A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.

(As written by CVE List.)

## Affected

- QEMU: qemu-kvm 7.0.0
- qemu qemu: before 7.0.0
- redhat enterprise_linux: 8.0
- debian debian_linux: 10.0; 11.0

## Every score

- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://starlabs.sg/advisories/21-4206/> (exploit, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2036998> (issue-tracking, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5133> (third-party-advisory, vendor-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)
- <https://security.netapp.com/advisory/ntap-20250321-0010/>

## Sources

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

---

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