# CVE-2025-58148: x86: Incorrect input sanitisation in Viridian hypercalls

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 46% of CVEs (2026-11-30)
- Published: 2025-10-31T11:50:28.407Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: XEN

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

(As written by CVE List.)

## Affected

- Xen Xen: consult Xen advisory XSA-475; from 4.15.0

## References

- <https://xenbits.xenproject.org/xsa/advisory-475.html> (patch, vendor-advisory)
- <http://xenbits.xen.org/xsa/advisory-475.html> (patch, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2025/10/21/1> (mailing-list, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2025-58148](https://www.cve.org/CVERecord?id=CVE-2025-58148), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2025-58148](https://nvd.nist.gov/vuln/detail/CVE-2025-58148), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-58148 · Whole record: https://cve.day/CVE-2025-58148.json · Rebuilt by cve.day 2026-11-25T22:59:07.080Z
