A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values cursor->header.width and cursor->header.height can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
CVE-2021-4207
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2022-04-30. NVD baseline CVSS 8.2; sources differ by 0.6.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.2
- EG Score
- 8.8(medium)
- EPSS
- 32.0%
- KEV
- Not listed
Published
April 29, 2022
Last Modified
March 21, 2025
References (11)
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2036966
- secalert@redhathttps://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- secalert@redhathttps://security.gentoo.org/glsa/202208-27
- secalert@redhathttps://starlabs.sg/advisories/21-4207/
- secalert@redhathttps://www.debian.org/security/2022/dsa-5133
- af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2036966
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202208-27
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250321-0009/
- af854a3a-2127-422b-91ae-364da2661108https://starlabs.sg/advisories/21-4207/
- af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5133
Vendor Advisories for CVE-2021-4207(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2021-4207Microsoft Security Response Center (MSRC)
CVE-2021-4207
- RHSA-2022:5821Red Hat Product SecurityMedium
Red Hat Security Advisory: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update
- RHSA-2022:5002Red Hat Product SecurityMedium
Red Hat Security Advisory: virt:av and virt-devel:av security and bug fix update
Patch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | qemu-system-x86-xen (1:4.2-3ubuntu6.23) @ focal | 2026-05-25 | ubuntu |
| redhat | virt:rhel-8060020220616155742.ad008a3a | 2022-08-02 | redhat |
| redhat | virt-devel:av-8040020220517095834.522a0ee4 | 2022-06-13 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 11× in last 7d / 49× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 12:32 UTCOSV refresh
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
Show 60 moreShow fewer
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 03:27 UTCOSV refresh
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 23:02 UTCEG score recompute
- 2026-05-25 23:02 UTCVendor advisory
- 2026-05-25 23:02 UTCGHSA enrichment
- 2026-05-24 01:21 UTCOSV refresh
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-120 · CWE-362
- CVE-2006-3100EG 9.8CRITICAL
- CVE-2007-5659NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2006-2492NVD 8.8EG 9.0 KEVEPSS 99%HIGH
- CVE-2004-0210NVD 7.8EG 9.0 KEVEPSS 94%HIGH
- CVE-1999-0038EG 8.4HIGH
- CVE-2006-4245EG 8.1HIGH
- CVE-2005-2352EG 8.1HIGH
- CVE-2006-5051EG 8.1EPSS 99%HIGH
- CVE-2004-0747EG 7.8HIGH
- CVE-2002-0969EG 7.8HIGH
Frequently asked(5)
What is CVE-2021-4207?
When was CVE-2021-4207 disclosed?
Is CVE-2021-4207 actively exploited?
What is the CVSS score of CVE-2021-4207?
How do I remediate CVE-2021-4207?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2021-4207
Is Your Infrastructure Affected by CVE-2021-4207?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.