CVEfocus › CVE database › CVE-2025-58147

CVE-2025-58147x86: Incorrect input sanitisation in Viridian hypercalls

CVSS 7.5 HighEPSS 0.7% (higher than 46% of CVEs)Published 2025-10-31Updated 2025-11-04Assigner: XEN

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

CWE-125

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
4Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xenFix pendingUBUNTU-CVE-2025-58147
Ubuntu 26.04xenUnder investigationUBUNTU-CVE-2025-58147
Ubuntu 25.10xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2025-58147
Ubuntu 24.04xenUnder investigationUBUNTU-CVE-2025-58147
Ubuntu 22.04xenUnder investigationUBUNTU-CVE-2025-58147
Ubuntu 20.04xenFix pendingUBUNTU-CVE-2025-58147
Ubuntu 18.04xenFix pendingUBUNTU-CVE-2025-58147
Ubuntu 16.04xenFix pendingUBUNTU-CVE-2025-58147
Debian 14xenFixed4.20.2+7-g1badcf5035-1DEBIAN-CVE-2025-58147
Debian 13xenFixed4.20.2+7-g1badcf5035-0+deb13u1DEBIAN-CVE-2025-58147
Debian 12xenFixed4.17.5+72-g01140da4e8-1DEBIAN-CVE-2025-58147
Alpine Linux 3.24xenFixed4.20.1-r2ALPINE-CVE-2025-58147
Alpine Linux 3.23xenFixed4.20.1-r2ALPINE-CVE-2025-58147
Alpine Linux 3.22xenFixed4.20.1-r2ALPINE-CVE-2025-58147
Alpine Linux 3.21xenFixed4.19.3-r2ALPINE-CVE-2025-58147
Alpine Linux 3.20xenFixed4.18.5-r3ALPINE-CVE-2025-58147
Alpine Linux 3.19xenFixed4.18.5-r3ALPINE-CVE-2025-58147

What the vendor says

As published in the CVE record by XEN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Not enabling Viridian will avoid the issuse.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.