CVE-2021-3546
Reported by redhat · Published June 2, 2021
An out-of-bounds write vulnerability was found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU in versions up to and including 6.0. The flaw occurs while processing the 'VIRTIO_GPU_CMD_GET_CAPSET' command from the guest. It could allow a privileged guest user to crash the QEMU process on the host, resulting in a denial of service condition, or potential code execution with the privileges 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 | Ubuntu:20.04:LTS | 1:4.2-3ubuntu6.17 |
| qemu | Ubuntu:22.04:LTS | 1:6.2+dfsg-2ubuntu5 |
| qemu | qemu | 6.0.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | QEMU | All QEMU versions up to and including 6.0 |
| n/a | QEMU | 6.0 |
| alpine | qemu | 0 |
Timeline
- May 10, 2021 CVE Published
- Jun 3, 2021 EPSS Score (30 in total, the first dated here)
- Sep 2, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 7, 2026 Security Advisory (7 in total, the first dated here)
- Jul 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3546
vulnetix vdb fixes CVE-2021-3546
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-3546/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20210531 QEMU: security issues in vhost-user-gpu mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- DSA-4980 vendor-advisoryx_refsource_DEBIAN
- GLSA-202208-27 vendor-advisoryx_refsource_GENTOO