Out-of-bounds Read in Xen

CVE-2025-58148

[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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (28.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

  • Xen — versions consult Xen advisory XSA-475

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-58148?
CVE-2025-58148 is a high-severity vulnerability in Xen, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2025-10-31.
How severe is CVE-2025-58148?
High severity. CVSS v3 base score is 7.5 out of 10.