CVE-2026-99312 Explained: How a KVM Bug Let a VM Read Its Host’s Memory
A security flaw allowed a virtual machine to read the physical host's memory, breaking the promise that a virtual machine is isolated.
Overview
A security flaw in the KVM hypervisorThe control software that divides one physical server into multiple isolated virtual machines allowed a virtual machineA software-emulated computer that runs its own operating system inside a shared physical server to access the physical memory of the host computer. This bug, identified as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-99312, affected AMD hosts that had nested virtualization enabled. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend was a use-after-freeA memory bug where a program keeps using a memory slot after releasing it error that had existed for almost four years before being fixed. It allowed an attacker with rootThe highest administrator permission level on a system, with unrestricted control over all files and programs access inside a guest VM to read 127 GB of host RAM and write data to the host kernel. The issue was introduced in 2022 while fixing a different vulnerability and was resolved in late 2026. Users running stable kernels 7.3.5, 6.18.64, or 6.12.118 received the necessary updates to close this security gap.
Terms in this story
- hypervisor
- The control software that divides one physical server into multiple isolated virtual machines. Rather than encrypting dozens of virtual servers one by one, ransomware gangs now target the underlying hypervisor so they can lock every virtual machine on the host at once. Security+ objective 3.1 lists the term
- virtual machine
- A software-emulated computer that runs its own operating system inside a shared physical server. Cloud providers run dozens of customer virtual machines on one physical server, and security researchers run malware samples inside a disposable virtual machine that they can reset afterward. Security+ objective 3.1 lists the term
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- use-after-free
- A memory bug where a program keeps using a memory slot after releasing it. Software makers frequently patch use-after-free bugs because an attacker can fill that freed memory slot with crafted data and trick the program into running malicious code.
- root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- Cloud computing
- Renting servers, storage, and databases over the internet on demand instead of running local hardware. Most companies rely on cloud computing for websites and data storage, which shifts security mistakes from physical server rooms to cloud identity and access settings.
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- kernel's
- The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
- tenant
- One organization's dedicated, isolated slice of accounts and data inside a shared cloud service. Even though many companies share the same cloud provider's hardware, each company manages its own users, policies, and storage inside its own cloud tenant.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- server
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.
Read the full article on The CyberSec Guru (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"The vulnerability, tracked as CVE-2026-99312..." Found by reading the article; these exact words are in it - Who is affected: "...guest VM..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"CVE-2026-99312 Explained: How a KVM Bug Let..." Found in the headline - Security+ 3.1 Compare and contrast security implications of different architecture models.
"......breakdown of CVE-2026-99312, the AMD KVM nested virtualization bug that let a guest VM read..." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"CVE-2026-99312 Explained: How a KVM Bug Let..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"CVE-2026-99312 Explained: How a KVM Bug Let..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"......a guest VM read and write host physical memory This post first appeared at -..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of virtualized and cloud based systems.
"Cloud computing runs on one promise..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role