Every CVE Search/ Get API key

CVE-2024-26328

An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not...

6.0 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.29%Up 0.2 points since Feb 19, 2024
90%50%10%1%

What each source reports

NVD Score used 6.0

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.

Record
CVE-2024-26328
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List 6.0

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.

Record
CVE-2024-26328
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
EUVDEUVD-2024-23597 6.0

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.

Record
EUVD-2024-23597
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-5355-6wp2-29w4 6.0

An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c does not...

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.

Record
GHSA-5355-6wp2-29w4
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVAZL-61710 6.0

CVE-2024-26328 affecting package qemu for versions less than 8.2.0-16

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.

Record
AZL-61710
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2024-26328 6.0
Record
BELL-CVE-2024-26328
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSV 6.0

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.

Record
CVE-2024-26328
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2024-26328 6.0

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.

Record
DEBIAN-CVE-2024-26328
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-26328 6.0

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.

Record
UBUNTU-CVE-2024-26328
CVSS 3.1
6.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2024-0387 No score

Updated qemu packages fix security vulnerabilities

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. (CVE-2023-1544) 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. (CVE-2023-3019) 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. (CVE-2023-3255) 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-5088) 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. (CVE-2023-6683) 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. (CVE-2023-6693) 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. (CVE-2023-42467) 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. (CVE-2024-24474) 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. (CVE-2024-26327) 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. (CVE-2024-26328) 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. (CVE-2024-3446) 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. (CVE-2024-3447) A flaw…

Record
MGASA-2024-0387
Updated
2026-11-02
OSVopenSUSE-SU-2024:13876-1 No score

qemu-8.2.2-2.1 on GA media

These are all security issues fixed in the qemu-8.2.2-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13876-1
Updated
2026-11-02
OSVSUSE-SU-2024:1103-1 No score

Security update for qemu

This update for qemu fixes the following issues:

  • CVE-2024-26327: Fixed buffer overflow via invalid SR/IOV NumVFs value (bsc#1220062).
  • CVE-2024-24474: Fixed integer overflow results in buffer overflow via SCSI command (bsc#1220134).
  • CVE-2023-6693: Fixed stack buffer overflow in virtio_net_flush_tx() (bsc#1218484).
  • CVE-2023-1544: Fixed out-of-bounds read in pvrdma_ring_next_elem_read() (bsc#1209554).
  • CVE-2024-26328: Fixed invalid NumVFs value handled in NVME SR/IOV implementation (bsc#1220065).

The following non-security bug was fixed:

  • Removing in-use mediated device should fail with error message instead of hang (bsc#1205316).
Record
SUSE-SU-2024:1103-1
Updated
2026-11-02
OSVSUSE-SU-2025:20011-1 No score

Security update for qemu

This update for qemu fixes the following issues:

  • Update to version 8.2.5:

    • target/loongarch: fix a wrong print in cpu dump
    • ui/sdl2: Allow host to power down screen
    • target/i386: fix SSE and SSE2 feature check
    • target/i386: fix xsave.flat from kvm-unit-tests
    • disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs
    • target/riscv/kvm.c: Fix the hart bit setting of AIA
    • target/riscv: rvzicbo: Fixup CBO extension register calculation
    • target/riscv: do not set mtval2 for non guest-page faults
    • target/riscv: prioritize pmp errors in raise_mmu_exception()
    • target/riscv: rvv: Remove redudant SEW checking for vector fp narrow/widen instructions
    • target/riscv: rvv: Check single width operator for vfncvt.rod.f.f.w
    • target/riscv: rvv: Check single width operator for vector fp widen instructions
    • target/riscv: rvv: Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions
    • target/riscv/cpu.c: fix Zvkb extension config
    • target/riscv: Fix the element agnostic function problem
    • target/riscv/kvm: tolerate KVM disable ext errors
    • hw/intc/riscv_aplic: APLICs should add child earlier than realize
    • iotests: test NBD+TLS+iothread
    • qio: Inherit follow_coroutine_ctx across TLS
    • target/arm: Disable SVE extensions when SVE is disabled
    • hw/intc/arm_gic: Fix handling of NS view of GICC_APR<n>
    • hvf: arm: Fix encodings for ID_AA64PFR1_EL1 and debug System registers
    • gitlab: use 'setarch -R' to workaround tsan bug
    • gitlab: use $MAKE instead of 'make'
    • dockerfiles: add 'MAKE' env variable to remaining containers
    • gitlab: Update msys2-64bit runner tags
    • target/i386: no single-step exception after MOV or POP SS
  • Update to version 8.2.4.

    • target/sh4: Fix SUBV opcode
    • target/sh4: Fix ADDV opcode
    • hw/arm/npcm7xx: Store derivative OTP fuse key in little endian
    • hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields
    • hw/ufs: Fix buffer overflow bug
    • tests/avocado: update sunxi kernel from armbian to 6.6.16
    • target/loongarch/cpu.c: typo fix: expection
    • backends/cryptodev-builtin: Fix local_error leaks
    • nbd/server: Mark negotiation functions as coroutine_fn
    • nbd/server: do not poll within a coroutine context
    • linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY
    • target/riscv/kvm: change timer regs size to u64
    • target/riscv/kvm: change KVM_REG_RISCV_FP_D to u64
    • target/riscv/kvm: change KVM_REG_RISCV_FP_F to u32
  • Update to version 8.2.3.

    • Update version for 8.2.3 release
    • ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS.
    • ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs.
    • hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus
    • hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately
    • virtio-pci: fix use of a released vector
    • linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2,4}
    • hw/audio/virtio-snd: Remove unused assignment
    • hw/net/net_tx_pkt: Fix overrun in update_sctp_checksum()
    • hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set
    • hw/net/lan9118: Fix overflow in MIL TX FIFO
    • hw/net/lan9118: Replace magic '2048' value by MIL_TXFIFO_SIZE definition
    • backends/cryptodev: Do not abort for invalid session ID
    • hw/misc/applesmc: Fix memory leak in reset() handler
    • hw/block/nand: Fix out-of-bound access in NAND block buffer
    • hw/block/nand: Have blk_load() take unsigned offset and return boolean
    • hw/block/nand: Factor nand_load_iolen() method out
    • qemu-options: Fix CXL Fixed Memory Window interleave-granularity typo
    • hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs
    • hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs
    • hw/display/virtio-gpu: Protect from DMA re-entrancy bugs
    • mirror: Don't call job_pause_point() under graph lock (bsc#1224179)
  • Backports and bugfixes:

    • hw/net/net_tx_pkt: Fix overrun in update_sctp_checksum() (bsc#1222841, CVE-2024-3567) *…
Record
SUSE-SU-2025:20011-1
Updated
2026-11-02
OSVUSN-6977-1 No score

qemu vulnerabilities

It was discovered that QEMU did not properly handle certain memory operations, which could result in a buffer overflow. An attacker could potentially use this issue to cause a denial of service. (CVE-2024-26327)

It was discovered that QEMU did not properly handle certain memory operations, which could result in an out-of-bounds memory access. An attacker could potentially use this issue to cause a denial of service. (CVE-2024-26328)

Record
USN-6977-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
qemu
Azure Linux:3
before 8.2.0-16
8.2.0-16
qemu
Alpaquita:23
7.1.0-r4 up to 9.0.2-r0
9.0.2-r0
qemu
Alpaquita:stream
8.0.2-r0 up to 9.0.0-r0
9.0.0-r0
qemu
Debian:12
before 1:7.2+dfsg-7+deb12u6, plus listed versions
1:7.2+dfsg-71:7.2+dfsg-7+deb12u11:7.2+dfsg-7+deb12u21:7.2+dfsg-7+deb12u2~bpo11+11:7.2+dfsg-7+deb12u31:7.2+dfsg-7+deb12u41:7.2+dfsg-7+deb12u5
1:7.2+dfsg-7+deb12u6
qemu
Debian:13
before 1:8.2.3+ds-1
1:8.2.3+ds-1
qemu
Debian:14
before 1:8.2.3+ds-1
1:8.2.3+ds-1
qemu
Mageia:9
From an advisory covering 16 CVEs
before 7.2.15-1.mga9
7.2.15-1.mga9
qemu
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 5 CVEs
before 7.1.0-150500.49.12.1
7.1.0-150500.49.12.1
qemu
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 5 CVEs
before 7.1.0-150500.49.12.1
7.1.0-150500.49.12.1
qemu
SUSE:Linux Enterprise Module for Package Hub 15 SP5
From an advisory covering 5 CVEs
before 7.1.0-150500.49.12.1
7.1.0-150500.49.12.1
Show 6 moreShow less
Affected packages
PackageAffectedFixed
qemu
SUSE:Linux Enterprise Module for Server Applications 15 SP5
From an advisory covering 5 CVEs
before 7.1.0-150500.49.12.1
7.1.0-150500.49.12.1
qemu
openSUSE:Leap 15.5
From an advisory covering 5 CVEs
before 7.1.0-150500.49.12.1
7.1.0-150500.49.12.1
qemu
SUSE:Linux Micro 6.0
From an advisory covering 4 CVEs
before 8.2.5-1.1
8.2.5-1.1
qemu
Ubuntu:24.04:LTS
before 1:8.2.2+ds-0ubuntu1.2, plus listed versions
1:8.0.4+dfsg-1ubuntu31:8.0.4+dfsg-1ubuntu41:8.0.4+dfsg-1ubuntu51:8.1.3+ds-1ubuntu21:8.2.1+ds-1ubuntu11:8.2.1+ds-1ubuntu81:8.2.1+ds-1ubuntu91:8.2.2+ds-0ubuntu1
1:8.2.2+ds-0ubuntu1.2
qemu
Ubuntu:24.04:LTS
From an advisory covering 2 CVEs
before 1:8.2.2+ds-0ubuntu1.2, plus listed versions
1:8.0.4+dfsg-1ubuntu31:8.0.4+dfsg-1ubuntu41:8.0.4+dfsg-1ubuntu51:8.1.3+ds-1ubuntu21:8.2.1+ds-1ubuntu11:8.2.1+ds-1ubuntu81:8.2.1+ds-1ubuntu91:8.2.2+ds-0ubuntu1
1:8.2.2+ds-0ubuntu1.2
qemu
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 8.2.2-2.1
8.2.2-2.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-26328 is a medium vulnerability (CVSS 6.0) in Qemu, published February 19, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in qemu 8.2.0-16.

References

Show 37 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open