CVE-2024-7730
Qemu-kvm: virtio-snd: heap buffer overflow in virtio_snd_pcm_in_cb()
Reported by fedora · Published November 14, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| qemu | gitlab.com | 9.1.0 |
| qemu | qemu | 9.1.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| 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 | |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| 0 |
Timeline
- Aug 13, 2024 CVE Published
- Nov 14, 2024 Coalition ESS Score (8 in total, the first dated here)
- Nov 14, 2024 PoC Published (2 in total, the first dated here)
- Nov 14, 2024 CVE Updated
- Nov 15, 2024 EPSS Score (30 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 30, 2026 Security Advisory (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-7730
vulnetix vdb fixes CVE-2024-7730
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-7730/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2304289 issue-trackingx_refsource_REDHAT