Menu

Star on GitHub · 3.2k

CVE-2026-31588

8.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Use scratch field in MMIO fragment to hold small write values When exiting to userspace to service an emulated MMIO w…

Published Apr 24, 2026CWE-416EPSS 0.19%

Overview

CVE-2026-31588 is a high-severity vulnerability. It was published on April 24, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86: Use scratch field in MMIO fragment to hold small write values

When exiting to userspace to service an emulated MMIO write, copy the

to-be-written value to a scratch field in the MMIO fragment if the size

of the data payload is 8 bytes or less, i.e. can fit in a single chunk,

instead of pointing the fragment directly at the source value.

This fixes a class of use-after-free bugs that occur when the emulator

initiates a write using an on-stack, local variable as the source, the

write splits a page boundary, *and* both pages are MMIO pages. Because

KVM's ABI only allows for physically contiguous MMIO requests, accesses

that split MMIO pages are separated into two fragments, and are sent to

userspace one at a time. When KVM attempts to complete userspace MMIO in

response to KVM_RUN after the first fragment, KVM will detect the second

fragment and generate a second userspace exit, and reference the on-stack

v

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-31588?

CVE-2026-31588 is a high-severity vulnerability. It was published on April 24, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2026-31588?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-31588?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31588?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31588 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all