
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-58150 is a buffer overrun vulnerability in the Xen hypervisor's x86 shadow paging tracing code, tracked as Xen Security Advisory XSA-477. The flaw exists because shadow mode tracing uses per-CPU variables written with guest-controlled data of guest-controllable size, without bounding the writes — allowing an out-of-bounds write condition. Only x86 systems running HVM guests in shadow paging mode with tracing enabled are affected; ARM systems are not vulnerable. It was publicly disclosed on January 27–28, 2026, and carries a CVSS v3.1 base score of 8.8 (High) (XSA-477 Advisory, Red Hat CVE).
The root cause is classified as CWE-787 (Out-of-bounds Write) and CWE-120 (Buffer Copy without Checking Size of Input). The shadow mode tracing subsystem in Xen's x86 code uses per-CPU variables to pass data between functions; some of these variables are populated with guest-supplied data of guest-controlled size, but no bounds checking was applied to ensure the write size did not exceed the variable's allocated space. Exploitation requires a low-privileged local attacker operating within an HVM guest running in shadow paging mode, with tracing enabled on the host (e.g., via the tbuf_size= command-line option or tools such as xentrace or xenbaked). The vulnerability was discovered by Jan Beulich of SUSE (Openwall OSS-Sec, Red Hat Bugzilla).
The exact impact depends on what data is adjacent to the overwritten per-CPU variables in a given Xen build. The most likely outcome is corruption of trace data, but the advisory explicitly states that privilege escalation, information leaks, and denial of service cannot be excluded without detailed analysis of the specific build. With a CVSS scope of "Changed," a successful exploit could affect the hypervisor itself beyond the guest boundary, potentially compromising the confidentiality, integrity, and availability of the host and other co-located guests (XSA-477 Advisory, Openwall OSS-Sec).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure. The EPSS score is approximately 0.012% (0.000120), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement that the target system must have shadow paging mode and tracing simultaneously enabled, which is a non-default configuration (Openwall OSS-Sec, Red Hat CVE).
tbuf_size= kernel parameter set, or xentrace/xenbaked running in Dom0)./dev/xen/evtchn or xentrace output); Xen hypervisor crash logs or oops messages referencing shadow paging or tracing subsystems.xentrace or xenbaked in Dom0; unexpected Dom0 process crashes or hangs correlated with HVM guest activity.Xen has released patches for affected versions: xsa477.patch for xen-unstable through Xen 4.19.x, and xsa477-4.18.patch for Xen 4.18.x. Downstream distributions including SUSE, Fedora, Mageia, and Debian have issued updated packages. As immediate workarounds: (1) run HVM guests in HAP (Hardware Assisted Paging) mode instead of shadow paging mode, or (2) disable tracing by not setting tbuf_size= and ensuring xentrace/xenbaked are not running (note: stopping tracing only prevents future exploitation; prior damage may have already occurred). Applying the vendor patch is the recommended permanent fix (XSA-477 Advisory, Openwall OSS-Sec).
The vulnerability was discussed on the oss-security mailing list upon public release of XSA-477, with the Xen Project Security Team coordinating disclosure. The Hacker Wire covered the vulnerability with a dedicated article on the shadow mode tracing guest-controlled overwrite. SUSE credited Jan Beulich as the discoverer and promptly issued a security update (SUSE-2026:0304-1). Multiple Linux distributions including Fedora, Mageia, and Debian issued advisories and updated packages shortly after disclosure (Openwall OSS-Sec, The Hacker Wire).
Fix availability across major Linux distributions and their releases.
bookworm
xen: 4.17.7-0+deb12u1
sid
xen: 4.20.2+37-g61ff35323e-1
trixie
xen: 4.20.2+37-g61ff35323e-0+deb13u1
bionic (esm-infra)
xen
devel
xen
focal (esm-apps)
xen
jammy
xen
jammy (esm-apps)
xen
noble
xen
noble (esm-apps)
xen
resolute
xen
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."