CVE-2021-3546: High severity Qemu Qemu vulnerability

Published May 10, 2021
·
Updated

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 'VIRTIOGPUCMDGETCAPSET' 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.

Other sources

An out-of-bounds write vulnerability was found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU. The flaw exists in virglcmdgetcapset() in contrib/vhost-user-gpu/virgl.c and could occur while processing the 'VIRTIOGPUCMDGETCAPSET' command. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.

This issue is analogous to CVE-2016-10028 in virtio-gpu-3d: https://bugzilla.redhat.com/showbug.cgi?id=1406367

Patch series: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04536.html

OOB write in virglcmdgetcapset() in virgl.c: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04542.html

Red Hat

Affected Software

3 affected componentsFixes available
Qemu Qemu<=6.0.0
Debian Debian Linux=11.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u21:7.2+dfsg-7+deb12u121:10.0.0~rc3+ds-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u2Fixed in 1:7.2+dfsg-7+deb12u12Fixed in 1:10.0.0~rc3+ds-2

Event History

May 10, 2021
Data Sourced
via Red Hat·02:17 PM
DescriptionSeverityAffected Software
Jun 2, 2021
CVE Published
via MITRE·01:30 PM
Data Sourced
via MITRE·01:30 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:33 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2021-3546.

2

What is the severity of CVE-2021-3546?

The severity of CVE-2021-3546 is high with a CVSS score of 8.2.

3

Which software versions are affected by CVE-2021-3546?

QEMU versions up to and including 6.0 are affected by CVE-2021-3546.

4

How can I fix CVE-2021-3546?

Apply the patches and updates provided by QEMU, Debian, and Ubuntu to mitigate the vulnerability.

5

Where can I find more information about CVE-2021-3546?

You can find more information about CVE-2021-3546 on the following references: [Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1958978), [Debian Security Advisory](https://www.debian.org/security/2021/dsa-4980), [Gentoo Security](https://security.gentoo.org/glsa/202208-27).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203