Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-17380

A heap-based buffer overflow was found in QEMU through 5.0.0 in the SDHCI device emulation support. It could occur while doing a multi block SDMA transfer via the sdhci_sdma_transfer_multi_blocks() routine in hw/sd/sdhci.c. A guest user or process could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code with privileges of the QEMU process on the host.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-17380
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:32 UTC · Revision 1

Source evidence

CVE-2020-17380

core-osv · Original source

Published 30 Jan 2021, 06:15 UTC

A heap-based buffer overflow was found in QEMU through 5.0.0 in the SDHCI device emulation support. It could occur while doing a multi block SDMA transfer via the sdhci_sdma_transfer_multi_blocks() routine in hw/sd/sdhci.c. A guest user or process could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code with privileges of the QEMU process on the host.

osv:CVE-2020-17380
Complete source record
{
  "id": "6bfaebbf865337e230cbaf2e55e1746cdbbb5eb48f7a308659fbac2b61ef3798",
  "url": "https://osv.dev/vulnerability/CVE-2020-17380",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-17380",
    "summary": "A heap-based buffer overflow was found in QEMU through 5.0.0 in the SDHCI device emulation support. It could occur while doing a multi block SDMA transfer via the sdhci_sdma_transfer_multi_blocks() routine in hw/sd/sdhci.c. A guest user or process could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code with privileges of the QEMU process on the host.",
    "evidence": "osv:CVE-2020-17380",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-17380",
      "aliases": [
        "CVE-2020-17380"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/qemu/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "fdd76fecdde1ad444ff4deb7f1c4f7e4a1ef97d6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.0.0",
            "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-2020-17380.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/qemu-project/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "fdd76fecdde1ad444ff4deb7f1c4f7e4a1ef97d6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.0.0",
            "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-2020-17380.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:40.819823268Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html",
        "https://security.netapp.com/advisory/ntap-20210312-0003/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1862167",
        "https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg01175.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-17380",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435015,
  "published_at": "2021-01-30T06:15:12.647+00:00"
}