CVE-2026-3195: Heap-based Buffer Overflow
CVE-2026-3195 is a heap-based buffer overflow vulnerability in QEMU's virtio-snd device input callback function, virtio_snd_pcm_in_cb. The flaw arises from insufficient validation of input audio data buffer sizes, potentially leading to out-of-bounds heap writes. This vulnerability is a result of an incomplete fix for a previous issue (CVE-2024-7730). It affects multiple Ubuntu package versions and is rated with a high severity CVSS score of 7.4. The vulnerability could allow an attacker inside a guest virtual machine to cause a denial of service or possibly execute arbitrary code on the host. Red Hat's QEMU packages are not affected due to the virtio-snd device being disabled at build time. Official patches are available from Ubuntu, and system updates followed by QEMU virtual machine restarts are required to remediate the issue.
AI Analysis
Technical Summary
A heap-based buffer overflow vulnerability (CWE-122) exists in QEMU's virtio-snd device input callback function, virtio_snd_pcm_in_cb, due to lack of proper bounds checking on the input audio data buffer (iov). This flaw can lead to heap out-of-bounds writes, potentially allowing an attacker with local access inside a guest VM to crash QEMU or execute arbitrary code on the host. The vulnerability is linked to an incomplete fix for CVE-2024-7730. It affects various Ubuntu QEMU package versions, specifically in Ubuntu 24.04 LTS and 25.10 releases. Red Hat Enterprise Linux's QEMU packages are not affected because the virtio-snd device is disabled at build time, removing the attack surface. The CVSS v3.1 score is 7.4 (High), with attack vector local, high attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. Official Ubuntu advisories provide patched package versions and recommend restarting all QEMU virtual machines after updating.
Potential Impact
An attacker with local access inside a guest virtual machine could exploit this vulnerability to cause QEMU to crash (denial of service) or potentially execute arbitrary code on the host system. The vulnerability impacts confidentiality, integrity, and availability of the host running QEMU. The CVSS score of 7.4 reflects a high severity with significant potential impact. Red Hat's QEMU packages are not affected due to the virtio-snd device being disabled at build time, effectively mitigating the risk in those environments.
Mitigation Recommendations
Apply the official patches provided by Ubuntu by updating to the fixed package versions listed in the Ubuntu security advisory USN-8161-1. After updating, restart all QEMU virtual machines to ensure the fixes take effect. For Red Hat Enterprise Linux users, no action is required as the virtio-snd device is disabled at build time, removing the attack surface for this vulnerability.
CVE-2026-3195: Heap-based Buffer Overflow
Description
CVE-2026-3195 is a heap-based buffer overflow vulnerability in QEMU's virtio-snd device input callback function, virtio_snd_pcm_in_cb. The flaw arises from insufficient validation of input audio data buffer sizes, potentially leading to out-of-bounds heap writes. This vulnerability is a result of an incomplete fix for a previous issue (CVE-2024-7730). It affects multiple Ubuntu package versions and is rated with a high severity CVSS score of 7.4. The vulnerability could allow an attacker inside a guest virtual machine to cause a denial of service or possibly execute arbitrary code on the host. Red Hat's QEMU packages are not affected due to the virtio-snd device being disabled at build time. Official patches are available from Ubuntu, and system updates followed by QEMU virtual machine restarts are required to remediate the issue.
CVSS v3.1
Score 7.4high
Affected software
pkg:deb/ubuntu/qemu?arch=source&distro=noblepkg:deb/ubuntu/qemu?arch=source&distro=questingpkg:deb/ubuntu/qemu?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A heap-based buffer overflow vulnerability (CWE-122) exists in QEMU's virtio-snd device input callback function, virtio_snd_pcm_in_cb, due to lack of proper bounds checking on the input audio data buffer (iov). This flaw can lead to heap out-of-bounds writes, potentially allowing an attacker with local access inside a guest VM to crash QEMU or execute arbitrary code on the host. The vulnerability is linked to an incomplete fix for CVE-2024-7730. It affects various Ubuntu QEMU package versions, specifically in Ubuntu 24.04 LTS and 25.10 releases. Red Hat Enterprise Linux's QEMU packages are not affected because the virtio-snd device is disabled at build time, removing the attack surface. The CVSS v3.1 score is 7.4 (High), with attack vector local, high attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. Official Ubuntu advisories provide patched package versions and recommend restarting all QEMU virtual machines after updating.
Potential Impact
An attacker with local access inside a guest virtual machine could exploit this vulnerability to cause QEMU to crash (denial of service) or potentially execute arbitrary code on the host system. The vulnerability impacts confidentiality, integrity, and availability of the host running QEMU. The CVSS score of 7.4 reflects a high severity with significant potential impact. Red Hat's QEMU packages are not affected due to the virtio-snd device being disabled at build time, effectively mitigating the risk in those environments.
Mitigation Recommendations
Apply the official patches provided by Ubuntu by updating to the fixed package versions listed in the Ubuntu security advisory USN-8161-1. After updating, restart all QEMU virtual machines to ensure the fixes take effect. For Red Hat Enterprise Linux users, no action is required as the virtio-snd device is disabled at build time, removing the attack surface for this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-3195
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Patch Information
Threat ID: 6a74cf9ebf8831d5391b043b
Added to database: 08/06/2026, 18:17:02 UTC
Last enriched: 08/21/2026, 16:55:53 UTC
Last updated: 08/21/2026, 22:52:12 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.