Skip to main content

QEMU QXL CVE-2026-16271

MEDIUM
2026-09-30 vendor:ubuntu
View

Attack ChainAIDerived

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

  1. Access
    Gain code execution inside guest VM
  2. Delivery
    Program QXL device via guest driver
  3. Exploit
    Set primary surface stride inconsistent with width
  4. Execution
    Trigger host-side OOB access in QEMU
  5. Impact
    Disclose host memory or crash hypervisor process

Vulnerability Assessment

Exploitation Conditions

Requires the QXL paravirtual display device to be attached to the guest (typical of SPICE-based desktop virtualization such as virt-manager, oVirt/RHV; not used in headless or virtio-gpu/VNC-only configurations), and requires the attacker to already control code within the guest at a level able to program the QXL device (guest kernel/driver). Exploitation is local to the host from the guest's perspective and does not require host authentication or user interaction, but the guest-driver access requirement and the non-universal use of qxl are the primary limiting factors; guests using other display backends are not exposed.

Impact

This is a QEMU guest-to-host memory-safety flaw in the paravirtual QXL/SPICE display device (hw/display/qxl), where the primary surface stride is not validated against the surface width. No CVSS vector, CWE, EPSS, KEV, or POC data was supplied, so all severity signals must be inferred from the patch title. The vulnerability class (missing bounds/consistency validation on a size field controlled by the guest) reliably yields out-of-bounds access in the host QEMU process, meaning the realistic worst case is host-memory information disclosure and a hypervisor-process crash (DoS); an OOB write leading to host code execution is plausible but cannot be confirmed from the title alone. Because exploitation requires an attacker who can already program the emulated device from inside a guest VM, this is a local-vector, scope-changing issue rather than a remote-unauthenticated one - a genuine virtualization-isolation concern in multi-tenant or untrusted-guest deployments, but not a mass-exploitation candidate. Absent EPSS/KEV/POC, treat as no confirmed exploitation; priority is driven by the isolation-boundary crossing, not by exploitation evidence. KEY GAPS: exact impact (read vs write), affected QEMU versions, and CVSS are all unconfirmed and should be verified against the Ubuntu USN and upstream qemu-devel commit.

Exploit ScenarioDerived

A malicious or compromised guest with kernel/driver-level access to the emulated QXL device creates a primary surface whose declared stride is inconsistent with its width. When the host QEMU process subsequently processes or renders that surface, the mismatched stride drives an out-of-bounds read (or write) in host memory, leaking hypervisor data or crashing the VM's QEMU process. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

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

Alert me

AnalysisAIv1 – Sep 30, 2026

Guest-to-host memory corruption in QEMU's QXL paravirtual display device (hw/display/qxl) stems from the primary surface stride not being validated against the declared surface width, allowing a guest that controls the QXL device to drive the host QEMU process into out-of-bounds memory access. The assessed vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H) reflects a scope-crossing guest-to-host impact with high confidentiality and availability loss and limited integrity impact, but exploitation requires the QXL display device to be attached and the attacker to already control code inside the guest at guest-kernel/driver level; headless, virtio-gpu, and VNC-only guests are not exposed. Reported by the Ubuntu vendor; no public exploit has been identified at time of analysis.

RemediationAI

Patch status: the input contains no released fix version, but the bracketed title matching an upstream commit subject ("hw/display/qxl: validate primary surface stride against width") indicates an upstream fix adding the missing stride-vs-width check; the corresponding patched release in distribution QEMU packages is not independently confirmed from the available data. The primary remediation is therefore to apply the QEMU security update from your distribution as soon as it is published and track the Ubuntu security notice and CVE tracker entry for CVE-2026-16271 for the exact package versions. Where patching must wait or untrusted guests must be hosted, the most effective compensating control is to stop exposing the QXL device entirely: switch guests to virtio-gpu (with SPICE or VNC) or VNC-only display, or run them headless, which removes the vulnerable hw/display/qxl code path at the cost of losing QXL-specific acceleration and some legacy SPICE display features. Removing QXL from libvirt domain XML and from oVirt/RHV VM templates prevents new guests from attaching the device, but existing guests must be reconfigured and rebooted for the change to take effect, and QEMU command-line or management-layer defaults that auto-attach qxl must be overridden. Restricting who can define or start VMs reduces the number of principals who can reach the bug, but it does not help when the attacker is code already running inside a legitimate guest, since no host authentication or user interaction is required to trigger the flaw. Because exploitation depends on guest-driver-level control of the QXL device, keeping guest kernels and QXL/SPICE guest drivers on supported, current builds and treating guest workloads as untrusted is advisable, but note that this does not remove the underlying host-side bug and should not be treated as equivalent to patching.

Affected ProductsAI

QEMU as shipped by Linux distributions, specifically the QXL paravirtual display device implementation in hw/display/qxl; the Ubuntu vendor is the reporting source, indicating Ubuntu's qemu packages are in scope, and the same upstream code is shared by other distributions that build QEMU with SPICE/QXL support. No explicit version range, CPE string, or vendor advisory URL was included in the provided intelligence, so the exact set of affected QEMU releases cannot be enumerated from this data alone. Practical exposure applies to any guest configured with a QXL display adapter under SPICE; guests running virtio-gpu, VNC-only, or headless configurations do not expose this code path. Distribution security trackers (for example the Ubuntu CVE tracker entry for CVE-2026-16271) should be consulted to determine which packaged QEMU builds are affected and which are fixed.

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

QXL is the paravirtual display adapter that QEMU emulates for SPICE-based virtual desktops (virt-manager, oVirt/RHV and similar stacks). The guest-side QXL driver programs the device through command rings and surface declarations, supplying surface geometry that includes a width and a stride (the byte offset between consecutive scanlines). The device model in hw/display/qxl consumes those values when mapping and copying primary surface memory, but in this issue it does not verify that the supplied stride is consistent with the surface width and pixel format. An undersized or inconsistent stride causes scanline arithmetic to walk past the bounds of the allocated host buffer, producing out-of-bounds reads and writes in the QEMU process hosting the guest. The scope change (S:C) in the assessed vector captures that the flaw crosses the guest/host isolation boundary, with high confidentiality impact (potential exposure of host or co-resident guest memory), high availability impact (QEMU process crash or DoS affecting the VM and potentially other guests), and limited integrity impact. No CWE was supplied in the source data, but the root-cause class is improper validation of a length/index quantity used in buffer access (out-of-bounds read/write family). Because the bug lives in the display device emulation rather than in generic virtio paths, exposure is limited to configurations where the QXL device is actually attached and the guest is running a QXL-capable driver.

Know when Qemu gets its next vulnerability

  • 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 8.7 HIGH

Guest-local attacker (AV:L) with low guest privilege programs the device (PR:L); OOB crosses guest-to-host boundary (S:C) causing host info-disclosure (C:H) and crash (A:H), write/integrity unconfirmed (I:L).

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

DescriptionCVE.org

[hw/display/qxl: validate primary surface stride against width]

Threat Intelligence Overview

Prevalence
High
QEMU very widely deployed; qxl/SPICE common in desktop and on-prem virtualization
Data Quality
1 sources
Confidence: Low

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 No
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Qemu

View all
CVE-2015-3456 HIGH POC
7.7 May 13

The Floppy Disk Controller (FDC) in QEMU, as used in Xen 4.5.x and earlier and KVM, allows local guest users to cause a

CVE-2015-8556 CRITICAL POC
10.0 Mar 24

Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1. Rated critical severity (CVSS 10.0)

CVE-2019-12928 CRITICAL POC
9.8 Jun 24

The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote

CVE-2019-12929 CRITICAL POC
9.8 Jun 24

The QMP guest_exec command in QEMU 4.0.0 and earlier is prone to OS command injection, which allows the attacker to achi

CVE-2015-7512 CRITICAL
9.0 Jan 08

Buffer overflow in the pcnet_receive function in hw/net/pcnet.c in QEMU, when a guest NIC has a larger MTU, allows remot

CVE-2016-7161 CRITICAL
9.8 Oct 05

Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attacke

CVE-2024-24474 HIGH POC
8.8 Feb 20

QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA tra

CVE-2022-35414 HIGH POC
8.8 Jul 11

softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_r

CVE-2016-4002 CRITICAL
9.8 Apr 26

Buffer overflow in the mipsnet_receive function in hw/net/mipsnet.c in QEMU, when the guest NIC is configured to accept

CVE-2024-3447 MEDIUM POC
6.0 Nov 14

A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. Rated medium severity (CVSS 6.0), this vul

CVE-2017-15268 HIGH POC
7.5 Oct 12

Qemu through 2.10.0 allows remote attackers to cause a memory leak by triggering slow data-channel read operations, rela

CVE-2022-2962 HIGH POC
7.8 Sep 13

A DMA reentrancy issue was found in the Tulip device emulation in QEMU. Rated high severity (CVSS 7.8), this vulnerabili

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