CVE-2025-58147

7.5

Xen · Xen

Xen hypercalls using the HV_VP_SET Sparse format contain boundary checking errors, leading to out of bounds memory writes during bitmap conversion.

Executive summary

A critical out of bounds write vulnerability in the Xen hypervisor allows unauthenticated attackers to potentially corrupt memory and compromise system integrity.

Vulnerability

This vulnerability involves a boundary checking flaw in the processing of Viridian hypercalls using the HV_VP_SET Sparse format. The issue resides in the vpmask_set function, which performs out of bounds writes when converting bitmaps to the internal Xen format.

Business impact

The ability to perform out of bounds writes within a hypervisor context poses a severe risk to virtualization security. A successful exploit could lead to unauthorized memory access, system instability, or potential privilege escalation across virtualized environments. Given the CVSS score of 7.5, this high severity flaw warrants immediate attention to prevent potential service disruption or data leakage.

Remediation

Immediate Action: Consult the official Xen security advisory XSA-475 to identify specific affected versions and apply the recommended patches or configuration changes provided by the vendor.

Proactive Monitoring: Monitor hypervisor access logs and system performance metrics for anomalous activity or unexpected crashes that may indicate exploitation attempts.

Compensating Controls: Ensure that virtualized environments follow the principle of least privilege and that inter-VM communication is strictly audited to limit the attack surface available to potential adversaries.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

The nature of this hypervisor vulnerability necessitates a proactive approach to remediation. Administrators must prioritize the review of XSA-475 and implement all vendor provided security updates as soon as they become available to ensure the continued integrity of the virtualization host.

More Xen CVEs

Sources

Originally found and disclosed by This issue was discovered by Teddy Astie of Vates, per the CVE Program record.