CVE-2024-7730
NixOS vulnerability analysis and mitigation

Overview

A heap buffer overflow vulnerability (CVE-2024-7730) was discovered in the virtio-snd device in QEMU. The vulnerability was found in the virtio-snd input callback function (virtiosndpcmincb), where the function fails to verify if the iov can accommodate the data buffer. This vulnerability was disclosed on November 14, 2024, affecting various versions of QEMU across multiple Linux distributions (NVD, Ubuntu).

Technical details

The vulnerability occurs during the input audio reading process in the virtio-snd input callback. The issue stems from the function not validating whether the iov can fit the data buffer, potentially triggering an out-of-bounds write when the virtio queue element size equals virtiosndpcm_status, resulting in zero available space for audio data. The vulnerability has been assigned a CVSS v3.1 base score of 7.4 (High) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high potential impact (NVD).

Impact

The vulnerability can lead to heap buffer overflow conditions, potentially allowing for out-of-bounds write operations in the affected QEMU systems. This could result in system crashes, memory corruption, or potential code execution within the QEMU environment (NVD).

Mitigation and workarounds

Fixed versions have been released for multiple Linux distributions including Ubuntu 24.10, 24.04 LTS, 22.04 LTS, 20.04 LTS, and 18.04 LTS. The upstream fix has been implemented in QEMU through commit 98e77e3. Users are advised to update their QEMU installations to the latest patched versions (Ubuntu, Debian).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management