← Database

CVE-2021-4207

HIGH CVSS: 8.2 Published: 2022-04-29 Modified: 2026-06-17

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.

Affected Platforms

Debian Debian LinuxQemu QemuRedhat Enterprise Linux

Weakness Type

CWE-362, CWE-120, CWE-362

References