A heap buffer overflow was found in the virtio-snd device in QEMU. When reading input audio in the virtio-snd input callback, virtiosndpcmincb, 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 virtiosndpcm_status, which makes the available space for audio data zero.
{
"cna_assigner": "fedora",
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7730.json"
}{
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.1.0"
}
],
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*"
}{
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "9.1.0"
},
{
"introduced": "0"
},
{
"fixed": "9.1.0"
}
],
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*"
}