{"id":"UBUNTU-CVE-2024-26327","details":"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.","modified":"2026-01-30T01:36:50.318151Z","published":"2024-02-19T05:15:00Z","related":["USN-6977-1"],"upstream":["CVE-2024-26327"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-26327"},{"type":"REPORT","url":"https://lore.kernel.org/all/20240214-reuse-v4-5-89ad093a07f4%40daynix.com/"},{"type":"REPORT","url":"https://lists.nongnu.org/archive/html/qemu-devel/2024-02/msg03387.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-26327"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6977-1"}],"affected":[{"package":{"name":"qemu","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/qemu@1:8.2.2+ds-0ubuntu1.2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:8.2.2+ds-0ubuntu1.2"}]}],"versions":["1:8.0.4+dfsg-1ubuntu3","1:8.0.4+dfsg-1ubuntu4","1:8.0.4+dfsg-1ubuntu5","1:8.1.3+ds-1ubuntu2","1:8.2.1+ds-1ubuntu1","1:8.2.1+ds-1ubuntu8","1:8.2.1+ds-1ubuntu9","1:8.2.2+ds-0ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-block-extra"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-block-supplemental"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-guest-agent"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-arm"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-common"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-data"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-gui"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-mips"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-misc"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-modules-opengl"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-modules-spice"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-ppc"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-s390x"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-sparc"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-x86"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-x86-xen"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-system-xen"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-user"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-user-binfmt"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-user-static"},{"binary_version":"1:8.2.2+ds-0ubuntu1.2","binary_name":"qemu-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-26327.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}