CVE-2025-58147 Details
Description
[This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Some Viridian hypercalls can specify a mask of vCPU IDs as an input, in one of three formats. Xen has boundary checking bugs with all three formats, which can cause out-of-bounds reads and writes while processing the inputs. * CVE-2025-58147. Hypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to write out of bounds when converting the bitmap to Xen's format. * CVE-2025-58148. Hypercalls using any input format can cause send_ipi() to read d->vcpu[] out-of-bounds, and operate on a wild vCPU pointer.
A vulnerability exists in Xen hypervisors version 4.15 and newer, specifically affecting x86 HVM guests with Viridian enabled. This vulnerability arises from improper input validation in certain Viridian hypercalls that allow the specification of vCPU ID masks. All three input formats are affected, leading to out-of-bounds reads and writes. In the HV_VP_SET Sparse format, the vpmask_set() function can be tricked into writing outside of its allocated bounds. Additionally, any input format can cause the send_ipi() function to read beyond the intended memory range and operate on invalid vCPU pointers. The consequences of this vulnerability include potential information leaks, unauthorized privilege escalation, and a denial-of-service condition impacting the entire host.
To address this vulnerability, apply the patches available in the Xen Security Advisory XSA-475. For Xen versions 4.19.x to 4.17.x, use the patches labeled 'xsa475-4.19-?'. After applying the patches, downstreams are encouraged to update to the latest stable branch.
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 Oct 31, 2025References 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/2025/10/21/1 | CVE | Mailing ListPatchThird Party Advisory |
| http://xenbits.xen.org/xsa/advisory-475.html | CVE | PatchVendor Advisory |
| https://xenbits.xenproject.org/xsa/advisory-475.html | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| xen xen | >= 4.15.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | Initial Analysis | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 31, 2025 | CVE Modified | CISA-ADP |
| Oct 31, 2025 | New CVE Received | [email protected] |