CVE-2025-58148CWE-125CWE-787

CVE-2025-58148

High · published October 31, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
30.8
In the wild
Unconfirmed
What it is

⚡ A simple hypercall request could lead to chaos! When certain inputs are mishandled, Xen's boundary issues can trigger out-of-bounds reads and writes, letting attackers dance on dangerous ground. 🔥 Think of it like a restaurant where a waiter mistakenly takes a table order and serves it to the wrong table, causing all sorts of confusion. Similarly, in this situation, the hypercalls misdirect resources, leading to unintended consequences. An attacker could exploit this vulnerability to access or corrupt memory regions they shouldn't, potentially crashing the system or injecting malicious code. If exploited, this could result in compromised virtual machines, leading to an absolute mess in your hypervisor environment!

Put simply

Think of it like a restaurant where a waiter mistakenly takes a table order and serves it to the wrong table, causing all sorts of confusion. Similarly, in this situation, the hypercalls misdirect resources, leading to unintended consequences. This vulnerability allows hypercalls to read from and write to memory locations outside the intended bounds due to improper checks in the input processing of vCPU IDs. This can lead to operations executed on invalid pointers, creating instability.

What to do

An attacker could exploit this vulnerability to access or corrupt memory regions they shouldn't, potentially crashing the system or injecting malicious code. If exploited, this could result in compromised virtual machines, leading to an absolute mess in your hypervisor environment! Immediately upgrade to the latest Xen version where this vulnerability is patched. Review your hypercall input handling and implement strict boundary checks to ensure vCPU masks cannot exceed allocated limits. Conduct thorough testing to validate that your remediation works as intended. You've got this! With these actions, you're well on your way to fortifying your environment against this vulnerability. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00380 · 30.8th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-787 · Out-of-bounds Write
Published
2025-10-31T16:15Z
Affected products (1)
ProductVersionsFixed in
xen/xen≥ 4.15.0—
References (3)
EPSS history
Timeline
  • 31 OCT 11:50Z
    x86: Incorrect input sanitisation in Viridian hypercalls
    cvelistv5