cve.bz

CVE-2024-7730 qemu qemu: Heap-based Buffer Overflow

7.8 highEPSS 0.3%

High (7.8) in qemu qemu. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-7730 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-7730?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-7730?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-7730 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemubefore 9.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12qemuno fix listedDEBIAN-CVE-2024-7730
Debian13, 14qemu1:9.1.0+ds-1DEBIAN-CVE-2024-7730
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.30UBUNTU-CVE-2024-7730 USN-7094-1
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.24UBUNTU-CVE-2024-7730 USN-7094-1
Ubuntu24.04:LTSqemu1:8.2.2+ds-0ubuntu1.4UBUNTU-CVE-2024-7730 USN-7094-1
UbuntuPro:14.04:LTSqemu2.0.0+dfsg-2ubuntu1.47+esm4UBUNTU-CVE-2024-7730 USN-7094-1
UbuntuPro:16.04:LTSqemu1:2.5+dfsg-5ubuntu10.51+esm3UBUNTU-CVE-2024-7730 USN-7094-1
UbuntuPro:18.04:LTSqemu1:2.11+dfsg-1ubuntu7.42+esm2UBUNTU-CVE-2024-7730 USN-7094-1
Azure Linux3qemu8.2.0-16AZL-60907
Alpaquita23qemuno fix listedBELL-CVE-2024-7730
Alpaquitastreamqemu9.1.0-r0BELL-CVE-2024-7730

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-7730.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON