Vulnerability · Published Nov 14, 2024 · Assigned by fedora

CVE-2024-7730Qemu-kvm: virtio-snd: heap buffer overflow in virtio_snd_pcm_in_cb()

High 7.4

In plain English

A high-severity heap buffer overflow in qemu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.3%top 80.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A heap buffer overflow was found in the virtio-snd device in QEMU. When reading input audio in the virtio-snd input callback, virtio_snd_pcm_in_cb, the function did not check whether the iov can fit the data buffer. This issue can trigger an out-of-bounds write if the size of the virtio queue element is equal to virtio_snd_pcm_status, which makes the available space for audio data zero.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12qemuno fix listedDEBIAN-CVE-2024-7730
Debian:13qemu1:9.1.0+ds-1DEBIAN-CVE-2024-7730
Debian:14qemu1:9.1.0+ds-1DEBIAN-CVE-2024-7730
Ubuntu:22.04:LTSqemu1:6.2+dfsg-2ubuntu6.24USN-7094-1
Ubuntu:22.04:LTSqemu1:6.2+dfsg-2ubuntu6.24UBUNTU-CVE-2024-7730
Ubuntu:24.04:LTSqemu1:8.2.2+ds-0ubuntu1.4USN-7094-1
Ubuntu:24.04:LTSqemu1:8.2.2+ds-0ubuntu1.4UBUNTU-CVE-2024-7730

Affected products (as reported)

VendorProductVersions
qemu 0 – before 9.1.0
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References