Skip to main content

Linux Kernel virtio-gpu CVE-2026-3886

MEDIUM
2026-07-09 vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local access in guest VM
  2. Delivery
    Open virtio-gpu DRM device node
  3. Exploit
    Submit crafted resource-create-2d with malformed dimensions
  4. Install
    Trigger integer overflow bypassing size check
  5. C2
    Undersized heap buffer allocated
  6. Execute
    Write beyond allocation boundary
  7. Impact
    Corrupt kernel heap for privilege escalation

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access within a Linux guest VM running the virtio-gpu kernel driver, typically in a QEMU/KVM environment. The attacker must be able to open and issue ioctl commands to the virtio-gpu DRM device node (/dev/dri/renderD* or similar), which is typically accessible to members of the 'render' or 'video' group or any process running with sufficient privileges. This is not exploitable over the network and is not exploitable on bare-metal systems lacking the virtio-gpu virtual device. Non-virtualized Linux environments using a physical GPU are unaffected. The limiting factors are: (1) the system must be a VM guest using virtio-gpu, (2) the attacker must have local code execution within that guest, and (3) the attacker must have permission to access the GPU device node.

Impact

With no CVSS vector, EPSS score, KEV listing, or POC data available, risk must be assessed from first principles. Integer overflow vulnerabilities in kernel GPU drivers commonly lead to heap buffer overflows, which in turn enable kernel memory corruption - a primitive that has historically been leveraged for local privilege escalation from an unprivileged user to root. The attack surface is limited to processes within a guest VM that have the ability to issue virtio-gpu resource creation commands, typically any user-space process that can open the DRM/GPU device node. This is not a remote, unauthenticated attack vector. The real-world priority is moderate-to-high for deployments running Linux guests under QEMU/KVM using virtio-gpu with untrusted or multi-tenant workloads; it is low for single-tenant or isolated VMs. CVSS, EPSS, and KEV data are entirely absent - risk ratings here are inferred from the vulnerability class and driver architecture, not confirmed signals.

Exploit ScenarioDerived

A local, low-privileged user process within a Linux guest VM opens the virtio-gpu DRM device and issues a resource-create-2d command with crafted width and height values designed to overflow the size calculation, bypassing the flawed bounds check. The resulting undersized heap allocation is then written beyond its bounds during image data population, corrupting adjacent kernel heap objects. No public proof-of-concept exploit is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 09, 2026

Integer overflow in the virtio-gpu driver's 2D image allocation path of the Linux kernel exposes virtualized guest systems to potential heap corruption. The flaw resides in an insufficient overflow check performed before allocating memory for a 2D image resource in the virtio-gpu paravirtualized GPU subsystem. An attacker or malicious process with access to GPU resource creation within an affected guest OS could trigger the overflow, potentially leading to out-of-bounds memory writes and kernel-level memory corruption. No public exploit or KEV listing is identified at time of analysis.

RemediationAI

Apply the kernel patch addressing the overflow check in the virtio-gpu 2D image allocation path. Ubuntu-specific fixed packages should be obtained via Ubuntu Security Notices; run 'apt-get update && apt-get upgrade linux-image-*' on affected Ubuntu systems and reboot to load the patched kernel. No exact fixed version is confirmed from the available data - consult the Ubuntu vendor advisory for the specific patched kernel version. As a compensating control where patching is not immediately possible, consider restricting unprivileged access to the virtio-gpu DRM device node (e.g., tightening /dev/dri/* permissions or removing untrusted users from the 'video' or 'render' group), accepting the trade-off of broken GPU acceleration for those users. In multi-tenant VM environments, ensuring guests run with the minimum required privileges reduces the blast radius if exploitation occurs.

Affected ProductsAI

The affected product is the Linux kernel's virtio-gpu driver. Exact affected kernel versions are not confirmed from the available data; Ubuntu has reported this vulnerability (vendor:ubuntu), suggesting that Ubuntu-shipped kernel packages are affected. Users should consult the Ubuntu Security Notices (USN) portal for the specific package versions impacted. No CPE strings were provided in the intelligence data.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The virtio-gpu driver is a paravirtualized GPU driver present in the Linux kernel, designed to communicate with the QEMU virtio-gpu device emulator in KVM/QEMU virtualized environments. It enables guest operating systems to submit rendering commands and allocate GPU resources. The specific flaw is in the integer arithmetic used to validate or compute the allocation size for a 2D image resource: the overflow check itself is flawed, meaning an attacker-controlled width, height, or format field could produce a wrapped (smaller) size that passes the check but results in an undersized heap allocation. This is consistent with CWE-190 (Integer Overflow or Wraparound) or CWE-131 (Incorrect Calculation of Buffer Size), though no CWE is formally assigned in the available data. CPE data is not provided; affected kernel versions must be confirmed via the Ubuntu security advisory.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

vuln.today AI 7.8 HIGH

Local vector as virtio-gpu is only accessible from within a guest VM; PR:L because device node access requires group membership or equivalent low privilege.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

DescriptionCVE.org

[virtio-gpu: fix overflow check when allocating 2d image]

Threat Intelligence Overview

Prevalence
Medium
common in QEMU/KVM Linux guest VMs, not universal
Data Quality
1 sources
Confidence: Low
CVE.org Vendor

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Module for Server Applications 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy