Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain code execution inside guest VM
-
DeliveryProgram QXL device via guest driver
-
ExploitSet primary surface stride inconsistent with width
-
ExecutionTrigger host-side OOB access in QEMU
-
ImpactDisclose 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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).
DescriptionCVE.org
[hw/display/qxl: validate primary surface stride against width]
Threat Intelligence Overview
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.
What every action level means
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1. Rated critical severity (CVSS 10.0)
The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote
The QMP guest_exec command in QEMU 4.0.0 and earlier is prone to OS command injection, which allows the attacker to achi
Buffer overflow in the pcnet_receive function in hw/net/pcnet.c in QEMU, when a guest NIC has a larger MTU, allows remot
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attacke
QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA tra
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_r
Buffer overflow in the mipsnet_receive function in hw/net/mipsnet.c in QEMU, when the guest NIC is configured to accept
A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. Rated medium severity (CVSS 6.0), this vul
Qemu through 2.10.0 allows remote attackers to cause a memory leak by triggering slow data-channel read operations, rela
A DMA reentrancy issue was found in the Tulip device emulation in QEMU. Rated high severity (CVSS 7.8), this vulnerabili
CVE.org
GitHub PoC
Exploit-DB