cve.bz

CVE-2021-3546 Out-of-bounds Write

8.2 highEPSS 0.5%

High (8.2). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3546 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3546?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3546?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3546 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemuthrough 6.0.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11qemu1:5.2+dfsg-11+deb11u1DSA-4980-1
Debian12, 13, 14qemu1:6.1+dfsg-1DEBIAN-CVE-2021-3546
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.37USN-5010-1
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.39USN-5307-1
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.17UBUNTU-CVE-2021-3546 USN-5010-1 USN-5307-1
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu5UBUNTU-CVE-2021-3546
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2qemu4.2.1-11.22.1SUSE-SU-2021:2212-1
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3qemu5.2.0-20.1SUSE-SU-2021:2213-1
openSUSELeap 15.2qemu4.2.1-lp152.9.16.2openSUSE-SU-2021:1043-1
openSUSELeap 15.2qemu-linux-user4.2.1-lp152.9.16.1openSUSE-SU-2021:1043-1
openSUSELeap 15.2qemu-testsuite4.2.1-lp152.9.16.7openSUSE-SU-2021:1043-1
openSUSELeap 15.3qemu5.2.0-20.1openSUSE-SU-2021:2213-1
openSUSETumbleweedqemu6.1.0-32.1openSUSE-SU-2024:11287-1
Alpinev3.16, v3.17, v3.18 and 6 moreqemu6.1.0-r0ALPINE-CVE-2021-3546

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue does not affect the versions of `qemu-kvm` as shipped with Red Hat Enterprise Linux 6, 7 and 8, as Virgl was not enabled in these versions. Support for Virgl was enabled as technical preview in Red Hat Enterprise Linux Advanced Virtualization 8.2, and later disabled in Red Hat Enterprise Linux Advanced Virtualization 8.3.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmWill not fix
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.3/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat OpenStack Platform 10 (Newton)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3546.

References

Check your stackJSON