Skip to main content

QEMU CVE-2026-77913

MEDIUM
2026-09-30 vendor:ubuntu
View

Attack ChainAIDerived

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

  1. Access
    Attacker controls a guest VM
  2. Delivery
    Program emulated VGA to switch graphics surface
  3. Exploit
    Force text-mode render into stale/undersized buffer
  4. Execution
    Trigger OOB write in host QEMU
  5. Persist
    Crash host process or corrupt host memory
  6. Impact
    DoS or guest-to-host escape

Vulnerability Assessment

Exploitation Conditions

Requires the target VM to be configured with QEMU's emulated VGA display adapter (a common default) and an attacker who already controls the guest (guest kernel/driver-level access or the ability to perform VGA I/O-port/MMIO programming from within the guest). The specific trigger is a state sequence: switching the display to a graphics surface and then invoking text-mode rendering, which reaches the OOB write. Limiting factors: the attacker must first have code execution inside a guest (no remote network path to an unrelated party), the host must run an unpatched QEMU with VGA emulation enabled, and reaching the flawed path depends on the ability to manipulate VGA device state - deployments using non-VGA display backends (e.g., virtio-gpu only) are not affected.

Impact

No CVSS vector, CWE, EPSS, KEV, POC, or SSVC data was provided in the input - the only signals are the commit-style description and the reporting source (vendor:ubuntu). The description ('hw/display/vga: fix text-mode OOB write after a graphics surface switch') unambiguously identifies this as an out-of-bounds write in QEMU's emulated VGA display device, a guest-to-host attack surface. Risk must therefore be inferred rather than confirmed. The realistic threat model is a malicious or already-compromised guest VM that drives the emulated VGA adapter into an inconsistent state (switching to a graphics surface and then rendering in text mode), triggering an OOB write in the host QEMU process. This is a locally-triggered flaw from the attacker's perspective (the attacker executes inside the guest, AV:L) but crosses a security boundary to the host (scope change), which is what makes VMM device-emulation bugs high-priority in multi-tenant/cloud environments. At minimum this yields host-side denial of service (QEMU crash killing the guest and potentially neighbors on shared infrastructure); memory-corruption OOB writes in QEMU device models have historically been escalated to host code execution (guest escape), though that outcome is NOT confirmed for this specific CVE. Net: this is a genuine priority for virtualization/cloud operators despite the absence of a published CVSS score, precisely because QEMU is ubiquitous and the bug sits on the guest→host trust boundary - but exploitation maturity is unproven (no KEV, no POC identified).

Exploit ScenarioDerived

A tenant with control of a guest VM programs the emulated VGA device to allocate/switch to a graphics-mode surface and then forces text-mode rendering, hitting the unfixed code path and causing an out-of-bounds write in the host QEMU process. In the benign case this crashes QEMU and denies service to that guest (and co-located tenants on shared hosts); in the worst case the controlled OOB write is leveraged toward host memory corruption and a guest-to-host escape. No public exploit code was identified in the provided data.

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

Out-of-bounds write in QEMU's emulated VGA display adapter can be triggered when a guest switches the display away from a graphics surface and then invokes text-mode rendering, corrupting memory that belongs to the host-side QEMU process. The assessed vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) describes a local, low-privileged attacker who already has code execution inside the guest and can program VGA I/O ports or MMIO; the scope change (S:C) reflects that the faulty code runs in the hypervisor process, so a successful trigger can break the guest isolation boundary and affect the confidentiality, integrity and availability of QEMU and potentially the host. No public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and the input data does not confirm a specific released patched version.

RemediationAI

The authoritative fix is the upstream QEMU commit touching hw/display/vga that corrects the text-mode out-of-bounds write following a graphics surface switch; because no tagged release or exact version number is confirmed in the available data, treat this as “upstream fix available (commit referenced in the description); released patched version not independently confirmed” and update QEMU via the vendored distribution build (for Ubuntu, install the qemu-system-* packages once the vendor security notice carrying this CVE is published, then restart or live-migrate all running guests so the new binary is actually in use, since patching the package does not retroactively fix already-running QEMU processes). If immediate upgrading is not possible, the most effective compensating control is to remove the vulnerable path from the attack surface: start guests with a non-VGA display backend such as virtio-gpu (for example -device virtio-gpu-pci with -vga none), which defeats this trigger entirely - at the cost of losing the legacy VGA text console, potentially breaking BIOS/boot display for some guests, headless console workflows, and some non-Linux or older operating systems that assume a VGA adapter. Do not run untrusted guests on hosts that must keep VGA emulation enabled, and where VGA is unavoidable, confine the QEMU process with sVirt/SELinux or AppArmor profiles, seccomp filtering, a dedicated unprivileged user, and dropped capabilities, plus memory-limit and crash-restart supervision; these reduce the blast radius if the OOB write is reached but do not prevent the memory corruption itself. Monitor QEMU and host logs for abnormal guest-triggered emulator crashes as an indicator that the VGA path is being exercised, and consult the Ubuntu security notice for this CVE for the exact fixed package version when it becomes available.

Affected ProductsAI

Affected component is QEMU's VGA display emulation (the standard VGA adapter used with the default emulated display, and configurations that route guest output through the legacy VGA/text-mode path), which is a common default for virtual machines that require VGA for firmware, boot console or legacy guest operating systems. The reporting source is the Ubuntu vendor channel (vendor:ubuntu), indicating that Ubuntu's qemu packages are within scope for the distribution's own patched version, and the commit-style description implies the flaw exists in upstream QEMU before the referenced fix. No CPE strings and no explicit version range were provided in the input data, so the precise set of affected releases and packaged versions cannot be enumerated here; deployments using only non-VGA display backends (for example virtio-gpu without a VGA adapter, or hosts started with -vga none) are not affected by this specific code path, and the upstream commit in hw/display/vga should be used together with the distribution's advisory to determine exact fixed package versions.

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 flaw sits in QEMU's VGA display emulation (the hw/display/vga code path that implements the legacy IBM VGA/Boards text and graphics modes exposed to guests through the standard I/O-port and MMIO register set). In a normal sequence the emulated adapter tracks whether the current drawing surface is a graphics plane or the text-mode character/attribute buffer, and the text renderer computes offsets into the corresponding host-side buffer. After the guest reprograms the display into a graphics mode/surface and then returns to text-mode rendering, the state used by the text path can be stale relative to the newly selected surface, so the write offset falls outside the allocated buffer, producing an out-of-bounds write in the QEMU process. No CWE identifier was supplied in the input; the weakness class indicated by the description is an out-of-bounds write (memory corruption) in emulator device code. The vulnerable code executes host-side on behalf of guest VGA programming, which is why the assessed vector raises scope and rates confidentiality, integrity and availability impact as High, and why the practical prerequisite is guest-level code execution plus a VGA-backed display configuration rather than any network reachability.

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.8 HIGH

Attacker executes inside the guest (AV:L) with device-programming privilege (PR:L), the OOB write crosses to the host (S:C); A:H is confident (host crash) while C:H/I:H reflect plausible but unconfirmed guest-escape memory corruption.

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

DescriptionCVE.org

[hw/display/vga: fix text-mode OOB write after a graphics surface switch]

Threat Intelligence Overview

Prevalence
Ubiquitous
QEMU underpins KVM and most Linux virtualization/cloud IaaS; VGA is a common default adapter
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