Vulnerability · Published Oct 31, 2025 · Assigned by XEN
CVE-2025-58148x86: Incorrect input sanitisation in Viridian hypercalls
High 7.5
In plain English
A high-severity out-of-bounds read in Xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.18.5-r3 | ALPINE-CVE-2025-58148 |
| Alpine:v3.21 | xen | 4.19.3-r2 | ALPINE-CVE-2025-58148 |
| Alpine:v3.22 | xen | 4.20.1-r2 | ALPINE-CVE-2025-58148 |
| Alpine:v3.23 | xen | 4.20.1-r2 | ALPINE-CVE-2025-58148 |
| Alpine:v3.24 | xen | 4.20.1-r2 | ALPINE-CVE-2025-58148 |
| Debian:12 | xen | 4.17.5+72-g01140da4e8-1 | DSA-6068-1 |
| Debian:12 | xen | 4.17.5+72-g01140da4e8-1 | DEBIAN-CVE-2025-58148 |
| Debian:13 | xen | 4.20.2+7-g1badcf5035-0+deb13u1 | DEBIAN-CVE-2025-58148 |
| Debian:13 | xen | 4.20.2+7-g1badcf5035-0+deb13u1 | DSA-6068-1 |
| Debian:14 | xen | 4.20.2+7-g1badcf5035-1 | DEBIAN-CVE-2025-58148 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2025-58148 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2025-58148 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2025-58148 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2025-58148 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2025-58148 |
Affected products (as reported)
Weakness: CWE-125, CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N