CVE-2021-4206
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.
Severity
HIGH
CVSS v3
8.2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
0.834%
chance of exploitation in the next 30 days
higher than 58.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-190: Integer Overflow or Wraparound
Timeline
- 2022-04-29Published by the CNA16:19 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| qemu qemu | before 7.0.0fixed in 7.0.0 | 7.0.0 |
| debian debian_linux | 10.0no fix listed11.0no fix listed | not listednot listed |
| redhat enterprise_linux | 8.0no fix listed | not listed |
References
- https://security.gentoo.org/glsa/202208-27
- https://www.debian.org/security/2022/dsa-5133
- https://starlabs.sg/advisories/21-4206/
- https://bugzilla.redhat.com/show_bug.cgi?id=2036998
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- https://security.netapp.com/advisory/ntap-20250321-0010/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-4206'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-4206'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-4206'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-4206'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).