CVE-2021-4206
Reported by redhat · Published April 29, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| qemu-system-aarch64 | Amazon Linux | 10:3.1.0-8.amzn2.0.22 |
| ivshmem-tools | Amazon Linux | 10:3.1.0-8.amzn2.0.22 |
| qemu-common | Amazon Linux | 10:3.1.0-8.amzn2.0.22 |
| qemu-ui-sdl | Amazon Linux | 10:3.1.0-8.amzn2.0.22 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | QEMU | qemu-kvm 7.0.0 |
| amazon:2 | qemu-system-aarch64 | 0 |
| amazon:2 | ivshmem-tools | 0 |
| amazon:2 | qemu-common | 0 |
| amazon:2 | qemu-ui-sdl | 0 |
| n/a | QEMU | 7.0.0 |
| amazon:2 | qemu-system-x86-core | 0 |
| amazon:2 | qemu-user | 0 |
| amazon:2 | qemu-kvm-core | 0 |
| amazon:2 | qemu | 0 |
| amazon:2 | qemu-block-nfs | 0 |
| amazon:2 | qemu-user-binfmt | 0 |
| amazon:2 | qemu-audio-pa | 0 |
| amazon:2 | qemu-block-ssh | 0 |
| amazon:2 | qemu-kvm | 0 |
| amazon:2 | qemu-audio-alsa | 0 |
| amazon:2 | qemu-audio-oss | 0 |
| amazon:2 | qemu-guest-agent | 0 |
| amazon:2 | qemu-system-aarch64-core | 0 |
| amazon:2 | qemu-block-iscsi | 0 |
…and 9 more
Timeline
- Apr 29, 2022 CVE Published
- Apr 30, 2022 EPSS Score (30 in total, the first dated here)
- Mar 21, 2025 CVE Updated
- Mar 21, 2025 PoC Published
- Mar 10, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 10, 2026 Security Advisory (9 in total, the first dated here)
- Jul 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-4206
vulnetix vdb fixes CVE-2021-4206
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-4206/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- DSA-5133 vendor-advisoryx_refsource_DEBIAN
- GLSA-202208-27 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update mailing-listx_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20250321-0010/ url