Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-26327
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-26327
Complete source record
{
"id": "8f819353c35567af0480190f70354831f0b21f8caa613bb525bd8ce2a2c13cd1",
"url": "https://osv.dev/vulnerability/CVE-2024-26327",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-26327",
"summary": "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.",
"evidence": "osv:CVE-2024-26327",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-26327",
"aliases": [
"CVE-2024-26327"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qemu/qemu",
"type": "GIT",
"events": [
{
"introduced": "621da7789083b80d6f1ff1c0fb499334007b4f51"
},
{
"last_affected": "f48c205fb42be48e2e47b7e1cd9a2802e5ca17b0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.1.0"
},
{
"last_affected": "8.2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v8.2.1",
"v8.2.0",
"v8.2.0-rc4",
"v8.2.0-rc3",
"v8.2.0-rc2",
"v8.2.0-rc1",
"v8.2.0-rc0",
"v8.1.0",
"v8.1.0-rc4",
"v8.1.0-rc3",
"v8.1.0-rc2",
"v8.1.0-rc1",
"v8.1.0-rc0",
"v8.0.0",
"v8.0.0-rc4",
"v8.0.0-rc3",
"v8.0.0-rc2",
"v7.2.0",
"v8.0.0-rc1",
"v8.0.0-rc0",
"v7.2.0-rc4",
"v7.2.0-rc3",
"v7.2.0-rc2",
"v7.2.0-rc1",
"v7.2.0-rc0",
"v7.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26327.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.com/qemu-project/qemu",
"type": "GIT",
"events": [
{
"introduced": "621da7789083b80d6f1ff1c0fb499334007b4f51"
},
{
"last_affected": "f48c205fb42be48e2e47b7e1cd9a2802e5ca17b0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.1.0"
},
{
"last_affected": "8.2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v8.2.1",
"v8.2.0",
"v8.2.0-rc4",
"v8.2.0-rc3",
"v8.2.0-rc2",
"v8.2.0-rc1",
"v8.2.0-rc0",
"v8.1.0",
"v8.1.0-rc4",
"v8.1.0-rc3",
"v8.1.0-rc2",
"v8.1.0-rc1",
"v8.1.0-rc0",
"v8.0.0",
"v8.0.0-rc4",
"v8.0.0-rc3",
"v8.0.0-rc2",
"v7.2.0",
"v8.0.0-rc1",
"v8.0.0-rc0",
"v7.2.0-rc4",
"v7.2.0-rc3",
"v7.2.0-rc2",
"v7.2.0-rc1",
"v7.2.0-rc0",
"v7.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26327.json"
}
}
],
"modified": "2026-10-28T02:30:37.408018263Z",
"provider": "osv",
"references": [
"https://lore.kernel.org/all/20240214-reuse-v4-5-89ad093a07f4%40daynix.com/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26327.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26327",
"https://security.netapp.com/advisory/ntap-20240419-0010/"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26327.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26327",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504875,
"published_at": "2024-02-19T00:00:00+00:00"
}