HOMEVULNERABILITIESCVE-2021-4207
HIGH

CVE-2021-4207

CWE-362Published: April 29, 2022· Updated: Jun 17, 2026

8.2
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2021-4207 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires high privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 8.2.

The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.High
User InteractionNone
ScopeChanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected Vendors & Products

Debian1 product(s)
debian linux
qemu1 product(s)
qemu
Red Hat1 product(s)
enterprise linux
Source: NVD CPE · 4 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (11)

Quick Facts

CVE IDCVE-2021-4207
CVSS Score8.2 / 10
SeverityHIGH
WeaknessCWE-362
CISA KEVNo
Affected3 vendor(s)
PublishedApr 29, 2022

Related CVEs (CWE-362)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-4207 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.