CVE-2020-13791
published 2020-06-04CVE-2020-13791: hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
PriorityP422medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.40%
32.4th percentile
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qemu | < qemu 1:5.0-6 (bookworm) | qemu 1:5.0-6 (bookworm) |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_qemu-kvm_4.2.0-21_on_cbl_mariner_1.0 | — | — |
| qemu | qemu | <= 5.0.1 | — |
| qemu | qemu | >= 0 < 1:5.0-6 | 1:5.0-6 |
| qemu | qemu | >= 0 < 1:5.0-6 | 1:5.0-6 |
| qemu | qemu | >= 0 < 1:5.0-6 | 1:5.0-6 |
| qemu | qemu | >= 0 < 1:5.0-6 | 1:5.0-6 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9j9x-v7hw-3v8f: hw/pci/pci
ghsa_unreviewed·2022-05-24
CVE-2020-13791 [LOW] CWE-125 GHSA-9j9x-v7hw-3v8f: hw/pci/pci
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
OSV
CVE-2020-13791: hw/pci/pci
osv·2020-06-04·CVSS 5.5
CVE-2020-13791 [MEDIUM] CVE-2020-13791: hw/pci/pci
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
Microsoft
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
vendor_msrc·2020-06-09·CVSS 5.5
CVE-2020-13791 [MEDIUM] CWE-125 hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre:
Red Hat
QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
vendor_redhat·2020-06-03·CVSS 5.5
CVE-2020-13791 [MEDIUM] CWE-125 QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
An out-of-bounds access flaw was found in the ati-vga emulator of the QEMU. The issue occurs while reading PCI configuration bytes via the ati_mm_read routine if the address sent by a guest is towards an end of the PCI configuration space. This flaw allows a guest user or process to crash the QEMU process resulting in a denial of service.
Package: kvm (Red Hat Enterprise Linux 5) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 6) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-ma (Red Hat Enterprise Linu
Debian
CVE-2020-13791: qemu - hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds acc...
vendor_debian·2020·CVSS 5.5
CVE-2020-13791 [MEDIUM] CVE-2020-13791: qemu - hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds acc...
hw/pci/pci.c in QEMU 4.2.0 allows guest OS users to trigger an out-of-bounds access by providing an address near the end of the PCI configuration space.
Scope: local
bookworm: resolved (fixed in 1:5.0-6)
bullseye: resolved (fixed in 1:5.0-6)
forky: resolved (fixed in 1:5.0-6)
sid: resolved (fixed in 1:5.0-6)
trixie: resolved (fixed in 1:5.0-6)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-13791 QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
bugzilla·2020-06-04·CVSS 5.5
CVE-2020-13791 [MEDIUM] CVE-2020-13791 QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
CVE-2020-13791 QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
An out-of-bounds access issue was found in the ati-vga emulator of the QEMU. It could occur while reading PCI configuration bytes via ati_mm_read routine, if the address sent by a guest is towards an end of the PCI configuration space. A guest user/process may use this flaw to crash the QEMU process resulting in DoS scenario.
Upstream patch
-> https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg00979.html
Discussion:
Acknowledgments:
Name: Ren Ding (SSLab Georgia Tech), Hanqing Zhao (SSLab Georgia Tech), Yi Ren
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1843765]
---
This bug is now closed. Further updates for individual products will be reflected on the CVE p
Bugzilla
CVE-2020-13791 qemu: ati-vga: OOB access while reading PCI configuration may lead to DoS [fedora-all]
bugzilla·2020-06-04·CVSS 5.5
CVE-2020-13791 [MEDIUM] CVE-2020-13791 qemu: ati-vga: OOB access while reading PCI configuration may lead to DoS [fedora-all]
CVE-2020-13791 qemu: ati-vga: OOB access while reading PCI configuration may lead to DoS [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mul
https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg00706.htmlhttps://security.gentoo.org/glsa/202011-09https://security.netapp.com/advisory/ntap-20200717-0001/https://www.openwall.com/lists/oss-security/2020/06/04/1https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg00706.htmlhttps://security.gentoo.org/glsa/202011-09https://security.netapp.com/advisory/ntap-20200717-0001/https://www.openwall.com/lists/oss-security/2020/06/04/1
2020-06-04
Published