CVE Database›CVE-2024-7730

CVE-2024-7730

qemu-kvm: virtio-snd: heap buffer overflow in virtio_snd_pcm_in_cb()

Loading…

Severity

Important

Red Hat Product Security

7.4

CVSS 3.1

Review impact separately from score.

Published · July 5, 2024

Updated · June 28, 2026

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.

Statement

The qemu-kvm packages as shipped with Red Hat Enterprise Linux and RHEL Advanced Virtualization are not affected by this CVE, as the virtio-snd device is not enabled.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7.4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-122 · Heap-based Buffer Overflow