CVE-2021-3638
QEMU: ati-vga: inconsistent check in ati_2d_blt() may lead to out-of-bounds write
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 7, 2021
Updated · June 28, 2026
Description
An out-of-bounds memory access flaw was found in the ATI VGA device emulation of QEMU. This flaw occurs in the ati_2d_blt() routine while handling MMIO write operations when the guest provides invalid values for the destination display parameters. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.
Statement
The ATI VGA emulation feature was introduced in QEMU upstream version 4.0.0. This flaw does not affect the versions of qemu-kvm as shipped with Red Hat products, as they do not include support for ATI VGA emulation.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
CWE-787 · Out-of-bounds Write