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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | qemu | < 9.1.0 | 9.1.0 |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | qemu | 1:9.1.0+ds-1 | — |
| Debian 13 | qemu | 1:9.1.0+ds-1 | — |
| Debian 12 | qemu | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | qemu | 1:8.2.2+ds-0ubuntu1.4 | USN-7094-1 |
| Ubuntu 22.04 LTS | qemu | 1:6.2+dfsg-2ubuntu6.24 | USN-7094-1 |
| Ubuntu 20.04 LTS | qemu | 1:4.2-3ubuntu6.30 | USN-7094-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | qemu | 1:2.11+dfsg-1ubuntu7.42+esm2 | USN-7094-1 |
| Ubuntu Pro 16.04 LTS | qemu | 1:2.5+dfsg-5ubuntu10.51+esm3 | USN-7094-1 |
| Ubuntu Pro 14.04 LTS | qemu | 2.0.0+dfsg-2ubuntu1.47+esm4 | USN-7094-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | qemu | 8.2.0-16 | — |
Advisories 2
- USN-7094-1 qemu vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2024-1851 QEMU: Schwachstelle ermöglicht Codeausführung und DoS BSI CERT-Bund (WID) · Jun 21, 2026
References
- https://access.redhat.com/security/cve/CVE-2024-7730 vdb-entry
- RHBZ#2304289 issue-tracking