CVE-2024-26328 in Qemu
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Qemu | Qemu | ≥ 7.1.0, ≤ 8.2.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-26328 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-191202-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| Published | 2024-02-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
A vulnerability in QEMU versions 7.1.0 through 8.2.1 affects the handling of virtual functions (VFs) in the register_vfs function within the pcie_sriov.c file. The issue arises because NumVFs is not set to PCI_SRIOV_TOTAL_VF, leading to improper interaction with the NVMe controller in ctrl.c.
An attacker with access to the QEMU environment could potentially exploit this vulnerability to manipulate the number of virtual functions, leading to unauthorized access or denial of service conditions.
Questions
What is CVE-2024-26328?
A vulnerability in QEMU versions 7.1.0 through 8.2.1 affects the handling of virtual functions (VFs) in the register_vfs function within the pcie_sriov.c file. The issue arises because NumVFs is not set to PCI_SRIOV_TOTAL_VF, leading to improper interaction with the NVMe controller in ctrl.c.
What is the CVSS score for CVE-2024-26328?
CVE-2024-26328 has CVSS 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H. EPSS: 0.3%.
Is CVE-2024-26328 actively exploited?
No confirmed active exploitation of CVE-2024-26328 as of 2026-09-25.
How do I remediate CVE-2024-26328?
Priority: HIGH.
What systems are affected by CVE-2024-26328?
CVE-2024-26328 affects Qemu Qemu.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Qemu","product":"Qemu","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.