Buffer overflow in Qemu
CVE-2021-4206
A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 58.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Qemu
- Debian Linux — versions 10.0, 11.0
- Red Hat Enterprise Linux — versions 8.0
- Qemu — versions qemu-kvm 7.0.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- starlabs.sg/advisories/21-4206/ (Exploit, Third Party Advisory)
- DSA-5133 (vendor-advisory, Third Party Advisory)
- GLSA-202208-27 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20250321-0010/