Guest-to-host memory corruption via zero-length audio buffer
Published Nov 14, 2024 · Updated Nov 14, 2024
A heap buffer overflow in QEMU before 9.1.0 allows guest OS users to overwrite host-process memory through virtio-snd input. The virtio_snd_pcm_in_cb function treats buffer->size as a running total and writes audio without first ensuring that the receive iovec has remaining capacity. Reachability requires a configured virtio-snd input device and guest control of its receive queue, exposing the QEMU process to memory corruption.
Summary
What happened
A heap buffer overflow in QEMU before 9.1.0 allows guest OS users to overwrite host-process memory through virtio-snd input. The virtio_snd_pcm_in_cb function treats buffer->size as a running total and writes audio without first ensuring that the receive iovec has remaining capacity. Reachability requires a configured virtio-snd input device and guest control of its receive queue, exposing the QEMU process to memory corruption.
The record
- CVE
- CVE-2024-7730
- Published
- Nov 14, 2024
- Updated
- Nov 14, 2024
- Vendor
- QEMU Project
- Product
- QEMU
- Classifications
- CWE-122, T1068
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 14, 2024CVE publishedPublication date reported by the CVE source.
- Nov 14, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <9.1.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- QEMU virtio-sound qtest reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo