VDB

CVE-2021-4207

CVE-2021-4207 PUBLISHED

Reported by redhat · Published April 29, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
qemu-audio-sdlAmazon Linux10:3.1.0-8.amzn2.0.10
qemu-system-aarch64Amazon Linux10:3.1.0-8.amzn2.0.10
qemu-audio-alsaAmazon Linux10:3.1.0-8.amzn2.0.10

Affected products

VendorProductVersions
n/aQEMUqemu-kvm 7.0.0
amazon:2qemu-audio-sdl0
amazon:2qemu-system-aarch640
amazon:2qemu-audio-alsa0
n/aQEMU7.0.0
amazon:2qemu0
amazon:2qemu-user-binfmt0
amazon:2qemu-block-ssh0
amazon:2qemu-img0
amazon:2qemu-kvm-core0
amazon:2qemu-ui-curses0
amazon:2qemu-system-x860
amazon:2qemu-audio-pa0
amazon:2qemu-kvm0
amazon:2qemu-system-aarch64-core0
amazon:2qemu-audio-oss0
amazon:2qemu-user0
amazon:2qemu-block-rbd0
amazon:2qemu-block-iscsi0
amazon:2qemu-user-static0

…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 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-4207
vulnetix vdb fixes CVE-2021-4207

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-4207/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 ›