QEMU QEMU is a generic and open source machine emulator and virtualizer.
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in QEMU.
By the Year
In 2026 there have been 0 vulnerabilities in QEMU. Last year, in 2025 QEMU had 5 security vulnerabilities published. Right now, QEMU is on track to have less security vulnerabilities in 2026 than it did last year.
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 0 | 0.00 |
| 2025 | 5 | 7.17 |
| 2024 | 15 | 5.95 |
| 2023 | 17 | 6.92 |
| 2022 | 33 | 6.67 |
| 2021 | 26 | 6.07 |
| 2020 | 43 | 4.90 |
| 2019 | 16 | 6.98 |
| 2018 | 32 | 7.05 |
It may take a day or so for new QEMU vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent QEMU Security Vulnerabilities
QEMU e1000 Driver Buffer Overflow Enables Host DoS
CVE-2025-12464
6.2 - Medium
- October 31, 2025
A stack-based buffer overflow was found in the QEMU e1000 network device. The code for padding short frames was dropped from individual network devices and moved to the net core code. The issue stems from the device's receive code still being able to process a short frame in loopback mode. This could lead to a buffer overrun in the e1000_receive_iov() function via the loopback code path. A malicious guest user could use this vulnerability to crash the QEMU process on the host, resulting in a denial of service.
Stack Overflow
QEMU QIOChannelWebsock UAF via WebSocket handshake
CVE-2025-11234
7.5 - High
- October 03, 2025
A flaw was found in QEMU. If the QIOChannelWebsock object is freed while it is waiting to complete a handshake, a GSource is leaked. This can lead to the callback firing later on and triggering a use-after-free in the use of the channel. This can be abused by a malicious client with network access to the VNC WebSocket port to cause a denial of service during the WebSocket handshake prior to the VNC client authentication.
Dangling pointer
QEMU 10.0.3 Migration State Inconsistency in PCIe SR-IOV
CVE-2025-54566
- July 25, 2025
hw/pci/pcie_sriov.c in QEMU through 10.0.3 has a migration state inconsistency, a related issue to CVE-2024-26327.
External Control of Critical State Data
QEMU 10.0.3 PCIe SR-IOV VF Enable Bit
CVE-2025-54567
- July 25, 2025
hw/pci/pcie_sriov.c in QEMU through 10.0.3 mishandles the VF Enable bit write mask, a related issue to CVE-2024-26327.
Incorrect Provision of Specified Functionality
MemCorrupt QEMU headless VM due to ErrCode handling
CVE-2024-49841
7.8 - High
- May 06, 2025
Memory corruption during memory assignment to headless peripheral VM due to incorrect error code handling.
Improper Handling of Exceptional Conditions
QEMU virtio-snd Device Heap Buffer Overflow Vulnerability
CVE-2024-7730
7.8 - High
- November 14, 2024
A heap buffer overflow was found in the virtio-snd device in QEMU. When reading input audio in the virtio-snd input callback, virtio_snd_pcm_in_cb, the function did not check whether the iov can fit the data buffer. This issue can trigger an out-of-bounds write if the size of the virtio queue element is equal to virtio_snd_pcm_status, which makes the available space for audio data zero.
QEMU SDHCI Emulation Heap-based Buffer Overflow Vulnerability
CVE-2024-3447
- November 14, 2024
A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. The bug is triggered when both `s->data_count` and the size of `s->fifo_buffer` are set to 0x200, leading to an out-of-bound access. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
QEMU LSI53C895A SCSI HA UAF Crash/VME
CVE-2024-6519
- October 21, 2024
A use-after-free vulnerability was found in the QEMU LSI53C895A SCSI Host Bus Adapter emulation. This issue can lead to a crash or VM escape.
QEMU VIRTIO (blk/scsi/crypto) Data Leak via Uninitialized Bounce Buffer
CVE-2024-8612
3.8 - Low
- September 20, 2024
A flaw was found in QEMU, in the virtio-scsi, virtio-blk, and virtio-crypto devices. The size for virtqueue_push as set in virtio_scsi_complete_req / virtio_blk_req_complete / virito_crypto_req_complete could be larger than the true size of the data which has been sent to guest. Once virtqueue_push() finally calls dma_memory_unmap to ummap the in_iov, it may call the address_space_write function to write back the data. Some uninitialized data may exist in the bounce.buffer, leading to an information leak.
Information Disclosure
QEMU USB Endpoint Assertion Failure (CVE20248354)
CVE-2024-8354
5.5 - Medium
- September 19, 2024
A flaw was found in QEMU. An assertion failure was present in the usb_ep_get() function in hw/net/core.c when trying to get the USB endpoint from a USB device. This flaw may allow a malicious unprivileged guest user to crash the QEMU process on the host and cause a denial of service condition.
assertion failure
Heap Overflow in QEMU Virtio-Net RSS
CVE-2024-6505
6.8 - Medium
- July 05, 2024
A flaw was found in the virtio-net device in QEMU. When enabling the RSS feature on the virtio-net network card, the indirections_table data within RSS becomes controllable. Setting excessively large values may cause an index out-of-bounds issue, potentially resulting in heap overflow access. This flaw allows a privileged user in the guest to crash the QEMU process on the host.
Out-of-bounds Read
QEMU qemu-img 'info' JSON DoS via crafted block device
CVE-2024-4467
7.8 - High
- July 02, 2024
A flaw was found in the QEMU disk image utility (qemu-img) 'info' command. A specially crafted image file containing a `json:{}` value describing block devices in QMP could cause the qemu-img process on the host to consume large amounts of memory or CPU time, leading to denial of service or read/write to an existing external file.
Resource Exhaustion
QEMU Virtio PCI Crash via Improper IRQFD Release during Boot
CVE-2024-4693
5.5 - Medium
- May 14, 2024
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 flaw allows a malicious guest to crash the QEMU process on the host.
Operation on a Resource after Expiration or Release
QEMU Fragmented Packet Assertion Crash (CVE-2024-3567)
CVE-2024-3567
5.5 - Medium
- April 10, 2024
A flaw was found in QEMU. An assertion failure was present in the update_sctp_checksum() function in hw/net/net_tx_pkt.c when trying to calculate the checksum of a short-sized fragmented packet. This flaw allows a malicious guest to crash QEMU and cause a denial of service condition.
assertion failure
QEMU Double-Free in Virtio Devices Enables Host DoS & Code Exec
CVE-2024-3446
- April 09, 2024
A double free vulnerability was found in QEMU virtio devices (virtio-gpu, virtio-serial-bus, virtio-crypto), where the mem_reentrancy_guard flag insufficiently protects against DMA reentrancy issues. This issue could allow a malicious privileged guest user to crash the QEMU process on the host, resulting in a denial of service or allow arbitrary code execution within the context of the QEMU process on the host.
Double-free
QEMU <8.2 Buffer Overflow via TI Command in esp_do_nodma
CVE-2024-24474
- February 20, 2024
QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is less than the length of the available FIFO data. This occurs in esp_do_nodma in hw/scsi/esp.c because of an underflow of async_len.
QEMU 7.18.2: NumVFs Not Set, NVMe VF Mishandling (pcie_sriov.c)
CVE-2024-26328
6 - Medium
- February 19, 2024
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not set NumVFs to PCI_SRIOV_TOTAL_VF, and thus interaction with hw/nvme/ctrl.c is mishandled.
Memory Corruption
QEMU 7.1.0-8.2.1 register_vfs buffer overflow in pcie_sriov.c
CVE-2024-26327
5.3 - Medium
- February 19, 2024
An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c mishandles the situation where a guest writes NumVFs greater than TotalVFs, leading to a buffer overflow in VF implementations.
Memory Corruption
QEMU VNC Server Null Pointer Deref in Clipboard Handling
CVE-2023-6683
6.5 - Medium
- January 12, 2024
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() was called and had the chance to initialize the clipboard peer, leading to a NULL pointer dereference. This could allow a malicious authenticated VNC client to crash QEMU and trigger a denial of service.
NULL Pointer Dereference
QEMU virtio-net buffer overflow during flush_tx causes info leak
CVE-2023-6693
4.9 - Medium
- January 02, 2024
A stack based buffer overflow was found in the virtio-net device of QEMU. This issue 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. This could allow a malicious user to overwrite local variables allocated on the stack. Specifically, the `out_sg` variable could be used to read a part of process memory and send it to the wire, causing an information leak.
Stack Overflow
QEMU 9pfs: 9p Passthrough FS Special File Escape
CVE-2023-2861
7.1 - High
- December 06, 2023
A flaw was found in the 9p passthrough filesystem (9pfs) implementation in QEMU. The 9pfs server did not prohibit opening special files on the host side, potentially allowing a malicious client to escape from the exported 9p tree by creating and opening a device file in the shared folder.
QEMU L2 Guest Disk Offset Overwrite Vulnerability (CVE-2023-5088)
CVE-2023-5088
6.4 - Medium
- November 03, 2023
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.
Incorrect Synchronization
QEMU Hot-Unplug Race: virtio-net PCI Frontend Assertion Crash
CVE-2023-3301
5.6 - Medium
- September 13, 2023
A flaw was found in QEMU. The async nature of hot-unplug enables a race scenario where the net device backend is cleared before the virtio-net pci frontend has been unplugged. A malicious guest could use this time window to trigger an assertion and cause a denial of service.
Race Condition
QEMU VNC ClientCutText Infinite Loop DoS
CVE-2023-3255
6.5 - Medium
- September 13, 2023
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 who is able to send a clipboard to the VNC server to trigger a denial of service.
Infinite Loop
qemukvm RHEL9.1 Missing CVE20213750 Fix (CVE20232680)
CVE-2023-2680
8.2 - High
- September 13, 2023
This CVE exists because of an incomplete fix for CVE-2021-3750. More specifically, the qemu-kvm package as released for Red Hat Enterprise Linux 9.1 via RHSA-2022:7967 included a version of qemu-kvm that was actually missing the fix for CVE-2021-3750.
Dangling pointer
Division-by-Zero Crash in QEMU 8.0.0 scsi_disk_reset
CVE-2023-42467
5.5 - Medium
- September 11, 2023
QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not prevent s->qdev.blocksize from being 256. This stops QEMU and the guest immediately.
Divide By Zero
Local Priv Escalation via TCG Accelerator in QEMU 4.2.0 (Disputed)
CVE-2020-24165
8.8 - High
- August 28, 2023
An issue was discovered in TCG Accelerator in QEMU 4.2.0, allows local attackers to execute arbitrary code, escalate privileges, and cause a denial of service (DoS). Note: This is disputed as a bug and not a valid security issue by multiple third parties.
QEMU Rocker L2 Flood causes host crash possible RCE (v7.0.0-)
CVE-2022-36648
10 - Critical
- August 22, 2023
The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier, allows remote attackers to crash the host qemu and potentially execute code on the host via execute a malformed program in the guest OS. Note: This has been disputed by multiple third parties as not a valid vulnerability due to the rocker device not falling within the virtualization use case.
NULL Pointer Dereference
QEMU <=8.0.4 NVMe: null ptr deref in directive_receive
CVE-2023-40360
5.5 - Medium
- August 14, 2023
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.
NULL Pointer Dereference
Input Verification Flaw in QEMU Audio Module Allows VM Restart
CVE-2023-39382
7.5 - High
- August 13, 2023
Input verification vulnerability in the audio module. Successful exploitation of this vulnerability may cause virtual machines (VMs) to restart.
Improper Input Validation
QEMU virtual NVMe OOB memory read
CVE-2023-4135
6.5 - Medium
- August 04, 2023
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 is used for copying data back to the guest. Arbitrary heap memory relative to an allocated buffer can be disclosed.
Out-of-bounds Read
Heap Buffer Overflow in QEMU Virtio-Crypto Device (CVE-2023-3180)
CVE-2023-3180
6.5 - Medium
- August 03, 2023
A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtio_crypto_handle_sym_req. There is no check for the value of `src_len` and `dst_len` in virtio_crypto_sym_op_helper, potentially leading to a heap buffer overflow when the two values differ.
Memory Corruption
Guest-to-Host PrivEsc via SUID in QEMU 9pfs Passthrough Filesystem
CVE-2023-1386
7.8 - High
- July 24, 2023
A flaw was found in the 9p passthrough filesystem (9pfs) implementation in QEMU. When a local user in the guest writes an executable file with SUID or SGID, none of these privileged bits are correctly dropped. As a result, in rare circumstances, this flaw could be used by malicious users in the guest to elevate their privileges within the guest and help a host local user to elevate privileges on the host.
Improper Preservation of Permissions
DMA Reentrancy UAF in QEMU e1000e NIC Emulation Causing Host DOS
CVE-2023-3019
6 - Medium
- July 24, 2023
A DMA reentrancy issue leading to a use-after-free error was found in the e1000e NIC emulation code in QEMU. This issue could allow a privileged guest user to crash the QEMU process on the host, resulting in a denial of service.
Dangling pointer
QEMU VNC Server NULL Pointer Deref via Connection Threshold (CVE-2023-3354)
CVE-2023-3354
7.5 - High
- July 11, 2023
A flaw was found in the QEMU built-in VNC server. When a client connects to the VNC server, QEMU checks whether the current number of connections crosses a certain threshold and if so, cleans up the previous connection. If the previous connection happens to be in the handshake phase and fails, QEMU cleans up the connection again, resulting in a NULL pointer dereference issue. This could allow a remote unauthenticated client to cause a denial of service.
NULL Pointer Dereference
CVE-2023-1544: QEMU Paravirtual RDMA CVE Leading to OOB Read & Crash
CVE-2023-1544
6.3 - Medium
- March 23, 2023
A flaw was found in the QEMU implementation of VMWare's paravirtual RDMA device. This flaw allows a crafted guest driver to allocate and initialize a huge number of page tables to be used as a ring of descriptors for CQ and async events, potentially leading to an out-of-bounds read and crash of QEMU.
Allocation of Resources Without Limits or Throttling
QEMU lsi53c895a DMA-MMIO Reentrancy Leads to Memory Corruption
CVE-2023-0330
6 - Medium
- March 06, 2023
A vulnerability in the lsi53c895a device affects the latest version of qemu. A DMA-MMIO reentrancy problem may lead to memory corruption bugs like stack overflow or use-after-free.
Memory Corruption
QEMU QXL Device OOB Read Enables GuestTriggered Host DoS
CVE-2022-4144
6.5 - Medium
- November 29, 2022
An out-of-bounds read flaw was found in the QXL display device emulation in QEMU. The qxl_phys2virt() function does not check the size of the structure pointed to by the guest physical address, potentially reading past the end of the bar space into adjacent pages. A malicious guest user could use this flaw to crash the QEMU process on the host causing a denial of service condition.
Out-of-bounds Read
QEMU ERST Device Buffer Overflow Allowing Guest Memory Overrun
CVE-2022-4172
6.5 - Medium
- November 29, 2022
An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_erst_record() and write_erst_record() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host.
Integer Overflow or Wraparound
Off-by-one SDHCI Buffer Data Port Read/Write in QEMU Causes Guest-Triggered DOS
CVE-2022-3872
8.6 - High
- November 07, 2022
An off-by-one read/write issue was found in the SDHCI device of QEMU. It occurs when reading/writing the Buffer Data Port Register in sdhci_read_dataport and sdhci_write_dataport, respectively, if 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.
off-by-five
QEMU VNC Server Integer Underflow in ClientCutText Causes DoS
CVE-2022-3165
6.5 - Medium
- October 17, 2022
An integer underflow issue was found in the QEMU VNC server while processing ClientCutText messages in the extended format. A malicious client could use this flaw to make QEMU unresponsive by sending a specially crafted payload message, resulting in a denial of service.
Integer underflow
QEMU Guest P2M Pool Freeing May Cause Excessive Latency
CVE-2022-33746
6.5 - Medium
- October 11, 2022
P2M pool freeing may take excessively long The P2M pool backing second level address translation for guests may be of significant size. Therefore its freeing may take more time than is reasonable without intermediate preemption checks. Such checking for the need to preempt was so far missing.
Improper Resource Shutdown or Release
QEMU < 1.6.2: QCOW2 snapshot update_refcount crash
CVE-2014-0147
6.2 - Medium
- September 29, 2022
Qemu before 1.6.2 block diver for the various disk image formats used by Bochs and for the QCOW version 2 format, are vulnerable to a possible crash caused by signed data types or a logic error while creating QCOW2 snapshots, which leads to incorrectly calling update_refcount() routine.
Integer Overflow or Wraparound
QEMU 2.0.0 - Block Driver Overflows in CLOOP/QCOW2 v2 (CVE-2014-0144)
CVE-2014-0144
8.6 - High
- September 29, 2022
QEMU before 2.0.0 block drivers for CLOOP, QCOW2 version 2 and various other image formats are vulnerable to potential memory corruptions, integer/buffer overflows or crash caused by missing input validations which could allow a remote user to execute arbitrary code on the host with the privileges of the QEMU process.
Improper Input Validation
QEMU <2.0: Hyper-V VHDX block driver loop DoS vulnerability
CVE-2014-0148
5.5 - Medium
- September 29, 2022
Qemu before 2.0 block driver for Hyper-V VHDX Images is vulnerable to infinite loops and other potential issues when calculating BAT entries, due to missing bounds checks for block_size and logical_sector_size variables. These are used to derive other fields like 'sectors_per_block' etc. A user able to alter the Qemu disk image could ise this flaw to crash the Qemu instance resulting in DoS.
Infinite Loop
QEMU Tulip DMA Reentrancy Enables Multiple MMIO, Crash Risk
CVE-2022-2962
7.8 - High
- September 13, 2022
A DMA reentrancy issue was found in the Tulip device emulation in QEMU. When Tulip reads or writes to the rx/tx descriptor or copies the rx/tx frame, it doesn't check whether the destination address is its own MMIO address. This can cause the device to trigger MMIO handlers multiple times, possibly leading to a stack or heap overflow. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
Improper Synchronization
QEMU virtio-fs SGID File Ownership Flaw Priv Escalation
CVE-2022-0358
7.8 - High
- August 29, 2022
A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-13405. A local guest user can create files in the directories shared by virtio-fs with unintended group ownership in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of the group. This could allow a malicious unprivileged user inside the guest to gain access to resources accessible to the root group, potentially escalating their privileges within the guest. A malicious local user in the host might also leverage this unexpected executable file created by the guest to escalate their privileges on the host system.
Improper Check for Dropped Privileges
QEMU LSI53C895A SCSI HBA UAF Crash
CVE-2022-0216
4.4 - Medium
- August 26, 2022
A use-after-free vulnerability was found in the LSI53C895A SCSI Host Bus Adapter emulation of QEMU. The flaw occurs while processing repeated messages to cancel the current SCSI request via the lsi_do_msgout function. This flaw allows a malicious privileged user within the guest to crash the QEMU process on the host, resulting in a denial of service.
Dangling pointer
QEMU AHCI deadlock in ahci_reset_port leads host hang
CVE-2021-3735
4.4 - Medium
- August 26, 2022
A deadlock issue was found in the AHCI controller device of QEMU. It occurs on a software reset (ahci_reset_port) while handling a host-to-device Register FIS (Frame Information Structure) packet from the guest. A privileged user inside the guest could use this flaw to hang the QEMU process on the host, resulting in a denial of service condition. The highest threat from this vulnerability is to system availability.
Resource Exhaustion
QEMU NVME DMA Reentrancy UaF enables DoS or exec on host
CVE-2021-3929
8.2 - High
- August 25, 2022
A DMA reentrancy issue was found in the NVM Express Controller (NVME) emulation in QEMU. This CVE is similar to CVE-2021-3750 and, just like it, when the reentrancy write triggers the reset function nvme_ctrl_reset(), data structs will be freed leading to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition or, potentially, executing arbitrary code within the context of the QEMU process on the host.
Dangling pointer