Vulnerabilities · 2021 · Qemu
CVE-2021-4207
Qemu vulnerability
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 products
Qemu, Enterprise Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Qemu runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=2036966 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/09/msg00008.html · Third Party Advisory
- security.gentoo.org/glsa/202208-27 · Third Party Advisory
- starlabs.sg/advisories/21-4207/ · Exploit
- www.debian.org/security/2022/dsa-5133 · Third Party Advisory
- security.netapp.com/advisory/ntap-20250321-0009/
- nvd.nist.gov/vuln/detail/CVE-2021-4207
- cve.org/CVERecord?id=CVE-2021-4207
More vulnerabilities in Qemu products
CVE-2025-54567CVE-2025-54566CVE-2024-26328CVE-2024-26327CVE-2024-24474CVE-2024-8354CVE-2024-7730CVE-2024-6519All 419
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.