CVE-2025-58150 Details
Description
Shadow mode tracing code uses a set of per-CPU variables to avoid cumbersome parameter passing. Some of these variables are written to with guest controlled data, of guest controllable size. That size can be larger than the variable, and bounding of the writes was missing.
A buffer overrun vulnerability has been identified in Xen's shadow mode tracing code on x86 systems. This issue arises because the tracing code uses per-CPU variables that can be overwritten with guest-controlled data of variable size. The lack of proper bounds checking allows for the possibility of writing data larger than the variable can accommodate, leading to potential memory corruption.
To address this vulnerability, HVM guests should be run in HAP mode only, and tracing should be disabled. Tracing can be turned off by stopping tools like xentrace or xenbaked in Dom0, provided they weren't started with the -x option. For systems running Xen 4.19.x, the patch 'xsa477.patch' should be applied. For Xen 4.18.x, the 'xsa477-4.18.patch' is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/01/27/1 | CVE | Mailing ListMitigationPatchThird Party Advisory |
| http://xenbits.xen.org/xsa/advisory-477.html | CVE | Mailing ListPatchVendor Advisory |
| https://xenbits.xenproject.org/xsa/advisory-477.html | [email protected] | MitigationPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| xen xen | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 9, 2026 | Initial Analysis | [email protected] |
| Jan 28, 2026 | CVE Modified | CISA-ADP |
| Jan 28, 2026 | CVE Modified | CVE |
| Jan 28, 2026 | New CVE Received | [email protected] |