Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3546

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3546
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:51 UTC · Revision 1

Source evidence

CVE-2021-3546

core-osv · Original source

Published 2 Jun 2021, 14:15 UTC

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.

osv:CVE-2021-3546
Complete source record
{
  "id": "07d33bbc34d687496a1af0983a7357433498dcc62e92abbd872c644a551b60f1",
  "url": "https://osv.dev/vulnerability/CVE-2021-3546",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3546",
    "summary": "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.",
    "evidence": "osv:CVE-2021-3546",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3546",
      "aliases": [
        "CVE-2021-3546"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/qemu/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "609d7596524ab204ccd71ef42c9eee4c7c338ea4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.0",
            "v6.0.0-rc5",
            "v6.0.0-rc4",
            "v6.0.0-rc3",
            "v6.0.0-rc2",
            "v6.0.0-rc1",
            "v6.0.0-rc0",
            "v5.2.0",
            "v5.2.0-rc4",
            "v5.2.0-rc3",
            "v5.2.0-rc2",
            "v5.2.0-rc1",
            "v5.2.0-rc0",
            "v5.0.0",
            "v5.1.0",
            "v5.1.0-rc3",
            "v5.1.0-rc2",
            "v5.1.0-rc1",
            "v5.1.0-rc0",
            "v4.2.0",
            "v5.0.0-rc4",
            "v5.0.0-rc3",
            "v5.0.0-rc2",
            "v5.0.0-rc1",
            "v5.0.0-rc0",
            "v4.2.0-rc5",
            "v4.2.0-rc4",
            "v4.2.0-rc3",
            "v4.2.0-rc2",
            "v4.2.0-rc1",
            "v4.2.0-rc0",
            "v4.1.0",
            "v4.0.0",
            "v4.1.0-rc5",
            "v4.1.0-rc4",
            "v4.1.0-rc3",
            "v4.1.0-rc2",
            "v4.1.0-rc1",
            "v4.1.0-rc0",
            "v4.0.0-rc4",
            "v4.0.0-rc3",
            "v4.0.0-rc2",
            "v4.0.0-rc1",
            "v3.1.0",
            "v4.0.0-rc0",
            "v3.0.0",
            "v3.1.0-rc5",
            "v3.1.0-rc4",
            "v3.1.0-rc3",
            "v3.1.0-rc2",
            "v3.1.0-rc1",
            "v3.1.0-rc0",
            "v3.0.0-rc4",
            "v3.0.0-rc3",
            "v3.0.0-rc2",
            "v3.0.0-rc1",
            "v3.0.0-rc0",
            "v2.12.0",
            "v2.12.0-rc4",
            "v2.12.0-rc3",
            "v2.12.0-rc2",
            "v2.12.0-rc1",
            "v2.12.0-rc0",
            "v2.11.0",
            "v2.11.0-rc5",
            "v2.11.0-rc4",
            "v2.11.0-rc3",
            "v2.11.0-rc2",
            "v2.11.0-rc1",
            "v2.11.0-rc0",
            "v2.10.0",
            "v2.10.0-rc4",
            "v2.10.0-rc3",
            "v2.10.0-rc2",
            "v2.10.0-rc1",
            "v2.9.0",
            "v2.10.0-rc0",
            "v2.9.0-rc5",
            "v2.9.0-rc4",
            "v2.9.0-rc3",
            "v2.9.0-rc2",
            "v2.9.0-rc1",
            "v2.8.0",
            "v2.9.0-rc0",
            "v2.8.0-rc4",
            "v2.8.0-rc3",
            "v2.8.0-rc2",
            "v2.8.0-rc1",
            "v2.8.0-rc0",
            "v2.7.0",
            "v2.7.0-rc5",
            "v2.7.0-rc4",
            "v2.7.0-rc3",
            "v2.7.0-rc2",
            "v2.6.0",
            "v2.7.0-rc1",
            "v2.7.0-rc0",
            "v2.6.0-rc5",
            "v2.6.0-rc4",
            "v2.6.0-rc3",
            "v2.6.0-rc2",
            "v2.6.0-rc1",
            "v2.6.0-rc0",
            "v2.5.0",
            "v2.5.0-rc4",
            "v2.5.0-rc3",
            "v2.5.0-rc2",
            "v2.5.0-rc1",
            "v2.5.0-rc0",
            "v2.4.0",
            "v2.4.0-rc4",
            "v2.4.0-rc3",
            "v2.3.0",
            "v2.4.0-rc2",
            "v2.4.0-rc1",
            "v2.4.0-rc0",
            "v2.3.0-rc4",
            "v2.3.0-rc3",
            "v2.3.0-rc2",
            "v2.3.0-rc1",
            "v2.3.0-rc0",
            "v2.2.0",
            "v2.2.0-rc3",
            "v2.2.0-rc5",
            "v2.2.0-rc4",
            "v2.2.0-rc2",
            "v2.2.0-rc1",
            "v2.2.0-rc0",
            "v2.1.0",
            "v2.1.0-rc5",
            "v2.1.0-rc4",
            "v2.1.0-rc2",
            "v2.1.0-rc3",
            "v2.0.0",
            "v2.1.0-rc1",
            "v2.1.0-rc0",
            "v2.0.0-rc3",
            "v2.0.0-rc2",
            "v2.0.0-rc1",
            "v2.0.0-rc0",
            "v1.7.0",
            "v1.7.0-rc2",
            "v1.7.0-rc1",
            "v1.7.0-rc0",
            "v1.6.0",
            "v1.6.0-rc3",
            "v1.6.0-rc2",
            "v1.6.0-rc1",
            "v1.6.0-rc0",
            "v1.5.0",
            "v1.5.0-rc3",
            "v1.5.0-rc2",
            "v1.5.0-rc1",
            "v1.5.0-rc0",
            "v1.4.0",
            "v1.4.0-rc2",
            "v1.4.0-rc1",
            "v1.4.0-rc0",
            "v1.3.0",
            "v1.3.0-rc2",
            "v1.3.0-rc1",
            "v1.3.0-rc0",
            "v1.2.0",
            "v1.2.0-rc3",
            "v1.2.0-rc2",
            "v1.2.0-rc1",
            "v1.2.0-rc0",
            "v1.1.0",
            "v1.1.0-rc4",
            "v1.1.0-rc3",
            "v1.1.0-rc2",
            "v1.1-rc2",
            "v1.1-rc1",
            "v1.1-rc0",
            "v1.0",
            "v1.0-rc4",
            "v1.0-rc3",
            "v1.0-rc2",
            "v1.0-rc1",
            "v1.0-rc0",
            "v0.14.0-rc0",
            "v0.13.0-rc0",
            "v0.12.0-rc0",
            "v0.11.0-rc0",
            "v0.5.0",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3546.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/qemu-project/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "609d7596524ab204ccd71ef42c9eee4c7c338ea4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.0",
            "v6.0.0-rc5",
            "v6.0.0-rc4",
            "v6.0.0-rc3",
            "v6.0.0-rc2",
            "v6.0.0-rc1",
            "v6.0.0-rc0",
            "v5.2.0",
            "v5.2.0-rc4",
            "v5.2.0-rc3",
            "v5.2.0-rc2",
            "v5.2.0-rc1",
            "v5.2.0-rc0",
            "v5.0.0",
            "v5.1.0",
            "v5.1.0-rc3",
            "v5.1.0-rc2",
            "v5.1.0-rc1",
            "v5.1.0-rc0",
            "v4.2.0",
            "v5.0.0-rc4",
            "v5.0.0-rc3",
            "v5.0.0-rc2",
            "v5.0.0-rc1",
            "v5.0.0-rc0",
            "v4.2.0-rc5",
            "v4.2.0-rc4",
            "v4.2.0-rc3",
            "v4.2.0-rc2",
            "v4.2.0-rc1",
            "v4.2.0-rc0",
            "v4.1.0",
            "v4.0.0",
            "v4.1.0-rc5",
            "v4.1.0-rc4",
            "v4.1.0-rc3",
            "v4.1.0-rc2",
            "v4.1.0-rc1",
            "v4.1.0-rc0",
            "v4.0.0-rc4",
            "v4.0.0-rc3",
            "v4.0.0-rc2",
            "v4.0.0-rc1",
            "v3.1.0",
            "v4.0.0-rc0",
            "v3.0.0",
            "v3.1.0-rc5",
            "v3.1.0-rc4",
            "v3.1.0-rc3",
            "v3.1.0-rc2",
            "v3.1.0-rc1",
            "v3.1.0-rc0",
            "v3.0.0-rc4",
            "v3.0.0-rc3",
            "v3.0.0-rc2",
            "v3.0.0-rc1",
            "v3.0.0-rc0",
            "v2.12.0",
            "v2.12.0-rc4",
            "v2.12.0-rc3",
            "v2.12.0-rc2",
            "v2.12.0-rc1",
            "v2.12.0-rc0",
            "v2.11.0",
            "v2.11.0-rc5",
            "v2.11.0-rc4",
            "v2.11.0-rc3",
            "v2.11.0-rc2",
            "v2.11.0-rc1",
            "v2.11.0-rc0",
            "v2.10.0",
            "v2.10.0-rc4",
            "v2.10.0-rc3",
            "v2.10.0-rc2",
            "v2.10.0-rc1",
            "v2.9.0",
            "v2.10.0-rc0",
            "v2.9.0-rc5",
            "v2.9.0-rc4",
            "v2.9.0-rc3",
            "v2.9.0-rc2",
            "v2.9.0-rc1",
            "v2.8.0",
            "v2.9.0-rc0",
            "v2.8.0-rc4",
            "v2.8.0-rc3",
            "v2.8.0-rc2",
            "v2.8.0-rc1",
            "v2.8.0-rc0",
            "v2.7.0",
            "v2.7.0-rc5",
            "v2.7.0-rc4",
            "v2.7.0-rc3",
            "v2.7.0-rc2",
            "v2.6.0",
            "v2.7.0-rc1",
            "v2.7.0-rc0",
            "v2.6.0-rc5",
            "v2.6.0-rc4",
            "v2.6.0-rc3",
            "v2.6.0-rc2",
            "v2.6.0-rc1",
            "v2.6.0-rc0",
            "v2.5.0",
            "v2.5.0-rc4",
            "v2.5.0-rc3",
            "v2.5.0-rc2",
            "v2.5.0-rc1",
            "v2.5.0-rc0",
            "v2.4.0",
            "v2.4.0-rc4",
            "v2.4.0-rc3",
            "v2.3.0",
            "v2.4.0-rc2",
            "v2.4.0-rc1",
            "v2.4.0-rc0",
            "v2.3.0-rc4",
            "v2.3.0-rc3",
            "v2.3.0-rc2",
            "v2.3.0-rc1",
            "v2.3.0-rc0",
            "v2.2.0",
            "v2.2.0-rc3",
            "v2.2.0-rc5",
            "v2.2.0-rc4",
            "v2.2.0-rc2",
            "v2.2.0-rc1",
            "v2.2.0-rc0",
            "v2.1.0",
            "v2.1.0-rc5",
            "v2.1.0-rc4",
            "v2.1.0-rc2",
            "v2.1.0-rc3",
            "v2.0.0",
            "v2.1.0-rc1",
            "v2.1.0-rc0",
            "v2.0.0-rc3",
            "v2.0.0-rc2",
            "v2.0.0-rc1",
            "v2.0.0-rc0",
            "v1.7.0",
            "v1.7.0-rc2",
            "v1.7.0-rc1",
            "v1.7.0-rc0",
            "v1.6.0",
            "v1.6.0-rc3",
            "v1.6.0-rc2",
            "v1.6.0-rc1",
            "v1.6.0-rc0",
            "v1.5.0",
            "v1.5.0-rc3",
            "v1.5.0-rc2",
            "v1.5.0-rc1",
            "v1.5.0-rc0",
            "v1.4.0",
            "v1.4.0-rc2",
            "v1.4.0-rc1",
            "v1.4.0-rc0",
            "v1.3.0",
            "v1.3.0-rc2",
            "v1.3.0-rc1",
            "v1.3.0-rc0",
            "v1.2.0",
            "v1.2.0-rc3",
            "v1.2.0-rc2",
            "v1.2.0-rc1",
            "v1.2.0-rc0",
            "v1.1.0",
            "v1.1.0-rc4",
            "v1.1.0-rc3",
            "v1.1.0-rc2",
            "v1.1-rc2",
            "v1.1-rc1",
            "v1.1-rc0",
            "v1.0",
            "v1.0-rc4",
            "v1.0-rc3",
            "v1.0-rc2",
            "v1.0-rc1",
            "v1.0-rc0",
            "v0.14.0-rc0",
            "v0.13.0-rc0",
            "v0.12.0-rc0",
            "v0.11.0-rc0",
            "v0.5.0",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3546.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.829301060Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/202208-27",
        "https://security.netapp.com/advisory/ntap-20210720-0008/",
        "https://www.debian.org/security/2021/dsa-4980",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1958978"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3546",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430775,
  "published_at": "2021-06-02T14:15:11.12+00:00"
}