CVE-2021-3545
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3545 is an information disclosure vulnerability discovered in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU versions up to and including 6.0. The vulnerability was identified in the virgl_cmd_get_capset_info() function within contrib/vhost-user-gpu/virgl.c, which could occur due to the read of uninitialized memory. The issue was discovered and reported by Li Qiang of Tianchen Security Lab (Ant Group) and was disclosed on May 31, 2021 (CVE Details, OSS Security).

Technical details

The vulnerability exists in the virgl_cmd_get_capset_info() function located in contrib/vhost-user-gpu/virgl.c of QEMU's vhost-user GPU implementation. The issue stems from reading uninitialized memory, which could potentially expose sensitive information. The vulnerability was addressed in upstream commit 121841b2 (OSS Security).

Impact

When successfully exploited, this vulnerability could allow a malicious guest to leak memory from the host system, potentially exposing sensitive information. The vulnerability received a CVSS v3.1 score of 6.5 (MEDIUM) with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N (NetApp Advisory).

Exploitability

The vulnerability requires local access and low privileges to exploit. It affects QEMU installations where the virtio vhost-user GPU device is enabled. Notably, this issue did not affect Red Hat Enterprise Linux 6, 7, and 8, as Virgl was not enabled in these versions, though it was briefly enabled as a technical preview in Red Hat Enterprise Linux Advanced Virtualization 8.2 before being disabled in version 8.3 (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in QEMU version 7.0.0. Users are advised to upgrade to this version or later to address the issue. The fix was implemented through upstream commit 121841b2 in the QEMU project repository (OSS Security, Gentoo Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

qemu: 6.1.0-r0

Fixed

v3.18

qemu: 6.1.0-r0

Fixed

v3.19

qemu: 6.1.0-r0

Fixed

v3.20

qemu: 6.1.0-r0

Fixed

v3.21

qemu: 6.1.0-r0

Fixed

v3.22

qemu: 6.1.0-r0

Fixed

v3.23

qemu: 6.1.0-r0

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-85706CRITICAL10
  • GitLab logoGitLab
  • gitlab
YesYesSep 12, 2026
CVE-2026-88009HIGH8.8
  • NixOS logoNixOS
  • github.com/traefik/traefik/v2
NoYesSep 10, 2026
CVE-2026-88008HIGH7
  • NixOS logoNixOS
  • github.com/traefik/traefik/v2
NoYesSep 10, 2026
CVE-2026-88012MEDIUM5.3
  • NixOS logoNixOS
  • traefik-fips-3
NoYesSep 10, 2026
CVE-2026-88011MEDIUM5.3
  • NixOS logoNixOS
  • github.com/traefik/traefik/v2
NoYesSep 10, 2026

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