CVE-2024-26327 Memory corruption in n/a

Medium 5.3 Published Updated

A guest VM can trigger a buffer overflow in QEMU's PCIe SR-IOV implementation by writing invalid VF counts, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26327?

CVE-2024-26327 is a medium-severity memory corruption vulnerability in Qemu Qemu, published on 19 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2024-26327?

It affects 1 product.

Products include Qemu Qemu.

How do I fix CVE-2024-26327?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-26327 being exploited?

There is no known exploitation of CVE-2024-26327 in the wild and no public exploit code.

All Qemu Qemu vulnerabilities

Sources

Also known as AZL-61716, BELL-CVE-2024-26327, DEBIAN-CVE-2024-26327, GHSA-7m48-vw34-vw84, UBUNTU-CVE-2024-26327.

Is CVE-2024-26327 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free