VDB

CVE-2021-4206

CVE-2021-4206 PUBLISHED

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.

PackageEcosystemFixed in
qemu-system-aarch64Amazon Linux10:3.1.0-8.amzn2.0.22
ivshmem-toolsAmazon Linux10:3.1.0-8.amzn2.0.22
qemu-commonAmazon Linux10:3.1.0-8.amzn2.0.22
qemu-ui-sdlAmazon Linux10:3.1.0-8.amzn2.0.22

Affected products

VendorProductVersions
n/aQEMUqemu-kvm 7.0.0
amazon:2qemu-system-aarch640
amazon:2ivshmem-tools0
amazon:2qemu-common0
amazon:2qemu-ui-sdl0
n/aQEMU7.0.0
amazon:2qemu-system-x86-core0
amazon:2qemu-user0
amazon:2qemu-kvm-core0
amazon:2qemu0
amazon:2qemu-block-nfs0
amazon:2qemu-user-binfmt0
amazon:2qemu-audio-pa0
amazon:2qemu-block-ssh0
amazon:2qemu-kvm0
amazon:2qemu-audio-alsa0
amazon:2qemu-audio-oss0
amazon:2qemu-guest-agent0
amazon:2qemu-system-aarch64-core0
amazon:2qemu-block-iscsi0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›