CVE-2021-3638 Memory corruption in QEMU
A malicious guest can crash the QEMU host process via out-of-bounds memory access in ATI VGA emulation, causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3638?
CVE-2021-3638 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2021-3638?
It affects 2 products.
Products include Fedoraproject Fedora, Qemu Qemu.
How do I fix CVE-2021-3638?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-3638 being exploited?
There is no known exploitation of CVE-2021-3638 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-8975, DEBIAN-CVE-2021-3638, GHSA-2r38-g5xg-3v7g, OESA-2022-1995, OESA-2022-1996, UBUNTU-CVE-2021-3638.