CVE Database›Document archive›CVE-2019-15034

CVE-2019-15034

qemu: hw/display/bochs-display.c does not ensure a sufficient PCI config space allocation leading to a buffer overflow involving the PCIe extended config space

Loading…

Severity

Important

Red Hat Product Security

5.8

CVSS 3.1

Review impact separately from score.

Published · August 12, 2019

Updated · November 2, 2026

Description

A buffer overflow flaw was found in the way the Bochs display driver of QEMU handled the PCIe extended configuration space when the device is connected to a PCIe bus. Accessing the PCIe extended config space could overflow the conventional PCI config space buffer due to limited memory allocation. As the PCIe config space is guest writeable, this flaw allows a local attacker to gain access and potentially execute arbitrary code on the host with the privileges of the QEMU process.

Statement

This flaw does not affect the module streamvirt:8.1/qemu-kvm as shipped with RHEL Advanced Virtualization, as it already includes the patch. Several other packages are unaffected because they do not include PCIe support:

  • kvm and xen as shipped with Red Hat Enterprise Linux 5
  • qemu-kvm as shipped with Red Hat Enterprise Linux 6 and 7
  • qemu-kvm-rhev as shipped with Red Hat Enterprise Linux 7
  • virt:rhel/qemu-kvm as shipped with Red Hat Enterprise Linux 8
  • qemu-kvm-rhev as shipped with Red Hat OpenStack Platform 10 and 13

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

CWE-120 · Buffer Copy without Checking Size of Input