Skip to content
Fencer Intel
medium 6.0

CVE-2020-27821 json

A flaw was found in the memory management API of QEMU during the initialization of a memory region cache.

published 5y ago modified 4mo ago also EUVD-2020-20322

cvss
6.0
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 30%
public exploits
0
none known

Summary

A flaw was found in the memory management API of QEMU during the initialization of a memory region cache. This issue could lead to an out-of-bounds write access to the MSI-X table while performing MMIO operations. A guest user may abuse this flaw to crash the QEMU process on the host, resulting in a denial of service. This flaw affects QEMU versions prior to 5.2.0.

Patch / fix

  • qemu qemu 5.2.0
  • qemu Debian 14, Debian 13, Debian 12 1:5.2+dfsg-3

debian advisories DEBIAN-CVE-2020-27821

  • qemu Ubuntu 20.04 LTS 1:4.2-3ubuntu6.12

ubuntu advisories UBUNTU-CVE-2020-27821

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • SLOF RHEL 8 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418
  • hivex RHEL 8 1.3.18-20.module+el8.3.0+6423+e4cb6418
  • netcf RHEL 8 0.2.8-12.module+el8.1.0+4066+0f1aadab
  • libnbd RHEL 8 1.2.2-1.module+el8.3.0+7353+9de0a3cc
  • nbdkit RHEL 8 1.16.2-4.module+el8.3.0+6922+fd575af8
  • libvirt RHEL 8 6.0.0-35.module+el8.4.0+10230+7a9b21e4
  • nbdfuse RHEL 8 1.2.2-1.module+el8.3.0+7353+9de0a3cc
  • seabios RHEL 8 1.13.0-2.module+el8.3.0+7353+9de0a3cc

red hat advisories RHSA-2021:1762RHBA-2021:0639

  • qemu SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3 5.2.0-17.1
  • qemu SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +6 more 3.1.1.1-9.24.3
  • qemu SLE Module for Server Applications 15 SP2, SLE Module for Basesystem 15 SP2, SLE Micro 5.0 4.2.1-11.16.3
  • qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-48.2

suse advisories SUSE-SU-2021:1942-1SUSE-SU-2021:1245-1SUSE-SU-2021:1243-1SUSE-SU-2021:1242-1

  • qemu openSUSE Tumbleweed 6.1.0-32.1
  • qemu openSUSE Leap 15.3 5.2.0-17.1
  • qemu openSUSE Leap 15.2 4.2.1-lp152.9.12.1
  • qemu-testsuite openSUSE Leap 15.2 4.2.1-lp152.9.12.1
  • qemu-linux-user openSUSE Leap 15.2 4.2.1-lp152.9.12.1

opensuse advisories openSUSE-SU-2024:11287-1openSUSE-SU-2021:1942-1openSUSE-SU-2021:0600-1

  • hivex AlmaLinux 8 1.3.18-20.module_el8.3.0+2048+e7a0a3ea
  • netcf AlmaLinux 8 0.2.8-12.module_el8.5.0+2608+72063365
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+2880+7d9e3703
  • netcf AlmaLinux 8 0.2.8-12.module_el8.3.0+2048+e7a0a3ea
  • libnbd AlmaLinux 8 1.2.2-1.module_el8.5.0+2608+72063365
  • libnbd AlmaLinux 8 1.2.2-1.module_el8.3.0+2048+e7a0a3ea
  • nbdkit AlmaLinux 8 1.16.2-4.module_el8.5.0+2608+72063365
  • nbdfuse AlmaLinux 8 1.2.2-1.module_el8.3.0+2048+e7a0a3ea

almalinux advisories ALSA-2021:1762

  • hivex Rocky Linux 8 1.3.18-20.module+el8.4.0+534+4680a14e
  • netcf Rocky Linux 8 0.2.8-12.module+el8.7.0+1084+97b81f61
  • netcf Rocky Linux 8 0.2.8-12.module+el8.4.0+534+4680a14e
  • netcf Rocky Linux 8 0.2.8-12.module+el8.6.0+847+b490afdd
  • libnbd Rocky Linux 8 1.2.2-1.module+el8.4.0+534+4680a14e
  • nbdkit Rocky Linux 8 1.16.2-4.module+el8.4.0+534+4680a14e
  • libvirt Rocky Linux 8 6.0.0-35.module+el8.4.0+534+4680a14e
  • seabios Rocky Linux 8 1.13.0-2.module+el8.4.0+534+4680a14e

rocky linux advisories RLSA-2021:1762

  • qemu Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 5.2.0-r0

alpine advisories ALPINE-CVE-2020-27821

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-27821 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-27821 updated cvss 5.7

QEMU: heap buffer overflow in msix_table_mmio_write() in hw/pci/msix.c

  • Red Hat Enterprise Linux 7 qemu-img-ma, qemu-kvm-ma, qemu-kvm-rhev, qemu-kvm-tools-ma, qemu-kvm-common-ma
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more
    affected: no fix available
  • Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    affected: no fix planned “Out of support scope”
  • Red Hat Advanced Virtualization CodeReady Builder for RHEL 8.3.1 libnbd 1.4.0-2.module+el8.3.0+7998+6ff5e5ab, netcf 0.2.8-12.module+el8.3.0+6124+819ee737, hivex 1.3.18-20.module+el8.3.0+6124+819ee737, nbdfuse 1.4.0-2.module+el8.3.0+7998+6ff5e5ab, libvirt 6.6.0-13.module+el8.3.1+9548+0a8fede5, seabios 1.14.0-1.module+el8.3.0+7638+07cf13d2, +40 more Red Hat Advanced Virtualization for RHEL 8.3.1 libnbd 1.4.0-2.module+el8.3.0+7998+6ff5e5ab, netcf 0.2.8-12.module+el8.3.0+6124+819ee737, hivex 1.3.18-20.module+el8.3.0+6124+819ee737, nbdfuse 1.4.0-2.module+el8.3.0+7998+6ff5e5ab, nbdkit 1.22.0-2.module+el8.3.0+8203+18ecf00e, libvirt 6.6.0-13.module+el8.3.1+9548+0a8fede5, +103 more
    fixed: vendor fix RHBA-2021:0639
  • Red Hat CodeReady Linux Builder (v. 8) libnbd 1.2.2-1.module+el8.3.0+7353+9de0a3cc, netcf 0.2.8-12.module+el8.1.0+4066+0f1aadab, hivex 1.3.18-20.module+el8.3.0+6423+e4cb6418, nbdfuse 1.2.2-1.module+el8.3.0+7353+9de0a3cc, seabios 1.13.0-2.module+el8.3.0+7353+9de0a3cc, libiscsi 1.18.0-8.module+el8.1.0+4066+0f1aadab, +39 more Red Hat Enterprise Linux AppStream (v. 8) libnbd 1.2.2-1.module+el8.3.0+7353+9de0a3cc, netcf 0.2.8-12.module+el8.1.0+4066+0f1aadab, hivex 1.3.18-20.module+el8.3.0+6423+e4cb6418, nbdfuse 1.2.2-1.module+el8.3.0+7353+9de0a3cc, nbdkit 1.16.2-4.module+el8.3.0+6922+fd575af8, seabios 1.13.0-2.module+el8.3.0+7353+9de0a3cc, +88 more
    fixed: vendor fix RHSA-2021:1762
  • Red Hat Enterprise Linux 5 kvm Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-kvm-tools, libcacard-tools, qemu-kvm-common, +1 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat Enterprise Linux 9 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tools, qemu-pr-helper, qemu-kvm-common, +16 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Affected products

  • n/a QEMU

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.