CVE-2021-3546
NixOS vulnerability analysis and mitigation

Overview

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. This vulnerability is tracked as CVE-2021-3546 and was discovered in early 2021 (MITRE CVE, NVD).

Technical details

The vulnerability exists in the virglcmdgetcapset() function in contrib/vhost-user-gpu/virgl.c and occurs during the processing of the 'VIRTIOGPUCMDGET_CAPSET' command. This issue is analogous to CVE-2016-10028 in virtio-gpu-3d. The vulnerability has a CVSS base score of 8.2 (High) with the vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (Ubuntu Security).

Impact

When successfully exploited, this vulnerability could allow a privileged guest user to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute code with the privileges of the QEMU process (MITRE CVE, Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in QEMU version 6.1 and later. For systems that cannot immediately update, it is recommended to only expose the web interface to trusted networks and not to the internet. Several Linux distributions have released patches for their respective versions, including Ubuntu, Debian (in version 1:5.2+dfsg-11+deb11u1), and Gentoo (Debian Security, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management