cve.bz

CVE-2024-26328 qemu qemu: Out-of-bounds Write

6.0 mediumEPSS 0.3%

Medium (6.0) in qemu qemu. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.0 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26328 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26328?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26328?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26328 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemufrom 7.1.0 through 8.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12qemu1:7.2+dfsg-7+deb12u6DEBIAN-CVE-2024-26328
Debian13, 14qemu1:8.2.3+ds-1DEBIAN-CVE-2024-26328
Ubuntu24.04:LTSqemu1:8.2.2+ds-0ubuntu1.2UBUNTU-CVE-2024-26328 USN-6977-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP5 and 1 moreqemu7.1.0-150500.49.12.1SUSE-SU-2024:1103-1
SUSELinux Micro 6.0qemu8.2.5-1.1SUSE-SU-2025:20011-1
openSUSELeap 15.5qemu7.1.0-150500.49.12.1SUSE-SU-2024:1103-1
openSUSETumbleweedqemu8.2.2-2.1openSUSE-SU-2024:13876-1
Azure Linux3qemu8.2.0-16AZL-61710
Alpaquita23qemu9.0.2-r0BELL-CVE-2024-26328
Alpaquitastreamqemu9.0.0-r0BELL-CVE-2024-26328

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The affected code path can only be reached if dev->exp.sriov_cap is set. For example, if QEMU is explicitly launched with the hw/nvme SR-IOV emulation enabled (parameter `sriov_max_vfs` is set). The emulation is exclusively used to emulate NVMe devices with SR-IOV capabilities for host software development purposes. Thus, the security impact of this CVE is Low.

The `qemu-kvm` versions, as shipped with Red Hat Enterprise Linux and RHEL Advanced Virtualization, are not affected by this flaw as they did not include support for NVMe emulation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26328.

References

Check your stackJSON