QEMU vulnerabilities
78 known CVE vulnerabilities in QEMU, translated and rated.
- CVE-2024-4693Medium
A flaw was found in the QEMU Virtio PCI Bindings (hw/virtio/virtio-pci.c). An improper release and use of the irqfd for vector 0 during the boot process leads to a guest-triggerable crash via vhost_net_stop(). This allows a malicious guest to crash the QEMU process on the host.
- CVE-2024-3567Medium
In QEMU, the update_sctp_checksum() function in hw/net/net_tx_pkt.c contains an assertion failure when calculating the checksum of a short-sized fragmented packet. A malicious guest can exploit this to crash QEMU and cause a denial of service.
- CVE-2023-6683Medium
A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. The qemu_clipboard_request() function can be reached before vnc_server_cut_text_caps() initializes the clipboard peer, leading to a NULL pointer dereference.
- CVE-2023-6693Medium
A stack-based buffer overflow was found in the virtio-net device of QEMU. It occurs when flushing TX in the virtio_net_flush_tx function if guest features VIRTIO_NET_F_HASH_REPORT, VIRTIO_F_VERSION_1, and VIRTIO_NET_F_MRG_RXBUF are enabled. A malicious user could overwrite local stack variables, and the `out_sg` variable could be used to read process memory and send it over the network, causing an information leak.
- CVE-2023-5088Medium
A bug in QEMU could cause a guest I/O operation otherwise addressed to an arbitrary disk offset to be targeted to offset 0 instead (potentially overwriting the VM's boot code). This could be used, for example, by L2 guests with a virtual disk (vdiskL2) stored on a virtual disk of an L1 (vdiskL1) hypervisor to read and/or write data to LBA 0 of vdiskL1, potentially gaining control of L1 at its next reboot.
- CVE-2023-3255Medium
A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. A wrong exit condition may lead to an infinite loop when inflating an attacker-controlled zlib buffer in the inflate_buffer function. This could allow a remote authenticated client able to send a clipboard to the VNC server to trigger a denial of service.
- CVE-2023-40360Medium
QEMU through 8.0.4 accesses a NULL pointer in nvme_directive_receive in hw/nvme/ctrl.c because there is no check for whether an endurance group is configured before checking whether Flexible Data Placement is enabled.
- CVE-2023-4135Medium
A heap out-of-bounds memory read flaw was found in the virtual NVMe device in QEMU. The QEMU process does not validate an offset provided by the guest before computing a host heap pointer, which can lead to the disclosure of arbitrary heap memory relative to an allocated buffer.
- CVE-2023-1386Low
In QEMU's 9p passthrough filesystem (9pfs) implementation, a local user in the guest can write an executable file with SUID or SGID bits that are not properly dropped. In rare circumstances, this could allow a malicious guest user to elevate privileges within the guest and help a host local user elevate privileges on the host.
- CVE-2022-3872High
An off-by-one read/write issue was found in the SDHCI device of QEMU in sdhci_read_dataport and sdhci_write_dataport when data_count == block_size. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
- CVE-2021-3735Medium
A deadlock issue exists in the AHCI controller device of QEMU, occurring on a software reset (ahci_reset_port) while handling a host-to-device Register FIS packet from the guest. A privileged user inside the guest could hang the QEMU process on the host, causing a denial of service.
- CVE-2020-35503Medium
A NULL pointer dereference flaw exists in the megasas-gen2 SCSI host bus adapter emulation of QEMU (versions up to and including 6.0) in the megasas_command_cancelled() callback while dropping a SCSI request. A privileged guest user can crash the QEMU process on the host, causing a denial of service.
- CVE-2021-20255Medium
A stack overflow via an infinite recursion vulnerability was found in the eepro100 i8255x device emulator of QEMU. This issue occurs while processing controller commands due to a DMA reentry issue, allowing a guest user or process to consume CPU cycles or crash the QEMU process on the host.
- CVE-2020-24352Medium
QEMU through 5.1.0 has an out-of-bounds memory access in the ATI VGA device implementation. The flaw occurs in ati_2d_blt() in hw/display/ati_2d.c while handling MMIO write operations via the ati_mm_write() callback. A malicious guest could crash the QEMU process on the host, causing denial of service.
- CVE-2015-7504High
Heap-based buffer overflow in the pcnet_receive function in hw/net/pcnet.c in QEMU allows guest OS administrators to cause a denial of service (instance crash) or possibly execute arbitrary code via a series of packets in loopback mode.
- CVE-2014-0145High
Multiple buffer overflows in QEMU before 1.7.2 and 2.x before 2.0.0 allow local users to cause a denial of service (crash) or possibly execute arbitrary code via a large L1 table in the qcow2_snapshot_load_tmp in the QCOW 2 block driver or various parameters in the DMG block driver.
- CVE-2014-0143High
Multiple integer overflows in QEMU, before version 2.0.0, allow local users to cause a denial of service (crash) by providing crafted input, leading to buffer overflows and memory corruption.
- CVE-2017-8284High
The disas_insn function in QEMU before version 2.9.0 does not limit instruction size in TCG mode without hardware acceleration, allowing local users to gain privileges by creating a modified basic block that injects code into a setuid program.
- CVE-2015-8666High
A heap-based buffer overflow exists in QEMU when built with the Q35-chipset-based PC system emulator. This vulnerability may lead to unauthorized memory access.
- CVE-2016-5338High
The esp_reg_read and esp_reg_write functions in QEMU allow local guest OS administrators to cause a denial of service (QEMU process crash) or execute arbitrary code on the QEMU host via manipulation of the information transfer buffer.
- CVE-2016-5126High
Heap-based buffer overflow in the iscsi_aio_ioctl function in block/iscsi.c in QEMU allows local guest OS users to cause a denial of service (QEMU process crash) or possibly execute arbitrary code via a crafted iSCSI asynchronous I/O ioctl call.
- CVE-2016-2857High
The net_checksum_calculate function in QEMU allows local guest OS users to cause a denial of service through out-of-bounds heap read and crash by exploiting the payload length in a crafted packet.
- CVE-2015-6855High
The hw/ide/core.c file in QEMU does not properly restrict the commands accepted by an ATAPI device, allowing guest users to cause a denial of service or potentially other unspecified impacts via certain IDE commands.
- CVE-2015-5279High
Heap-based buffer overflow in the ne2000_receive function in hw/net/ne2000.c in QEMU before version 2.4.0.1 allows guest OS users to cause a denial of service (instance crash) or possibly execute arbitrary code via vectors related to receiving packets.
- CVE-2014-0222High
Integer overflow in the qcow_open function in block/qcow.c in QEMU before 1.7.2 allows remote attackers to cause a denial of service (crash) via a large L2 table in a QCOW version 1 image.
- CVE-2013-4537High
The ssi_sd_transfer function in hw/sd/ssi-sd.c in QEMU before 1.7.2 allows remote attackers to execute arbitrary code via a crafted arglen value in a savevm image.
- CVE-2013-4529High
Buffer overflow in hw/pci/pcie_aer.c in QEMU before version 1.7.2 allows remote attackers to cause a denial of service and possibly execute arbitrary code via a large log_num value in a savevm image.
- CVE-2014-2894High
Off-by-one error in the cmd_smart function in the smart self test in QEMU before version 2.0 allows local users to have unspecified impact via a SMART EXECUTE OFFLINE command that triggers a buffer underflow and memory corruption.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

