Critical Vulnerability in Xen Package: Page Mapping Issues Leading to Domain Boundary Violations

xen Updated 02 Oct 2025

Summary

11/09/2025
N/A
Yes i
Unrated
Not published

CVE-2025-58145: [This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] There are two issues related to the mapping of pages belonging to other domains: For one, a... Affects xen versions < 4.18.5-r2. Fixed in 4.18.5-r2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Xen is an open-source hypervisor that allows multiple operating systems to run concurrently on a single physical machine. It is widely used for virtualization in cloud computing environments. The Xen package is crucial for managing virtual machines and ensuring efficient resource allocation. However, it has recently been identified to have vulnerabilities that could compromise the integrity of domain boundaries, potentially allowing unauthorized access to sensitive data.

Vulnerability Detail

The vulnerability, identified as CVE-2025-58145, arises from improper handling of page mappings belonging to different domains. Specifically, an assertion failure can lead to a NULL pointer dereference in release builds, while the P2M lock is not held during page reference acquisition. This oversight can allow for changes in page type and ownership, violating domain boundaries and enabling potential security breaches.

How To Fix

Minimum fixed version

4.18.5-r2

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit the exposure of their virtual machines by implementing stricter access controls and monitoring domain interactions. However, this is not a substitute for applying the necessary patches.

Conclusion

CVE-2025-58145 represents a significant security risk for users of the Xen package, with the potential to compromise domain boundaries. It is crucial for users to apply the necessary patches promptly and consider temporary workarounds until they can fully secure their systems.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

CVE-2025-58145 is a critical vulnerability in the Xen package that can lead to domain boundary violations due to improper handling of page mappings.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow unauthorized access to sensitive data across different domains, compromising the security of virtualized environments.

Yes, patches are available for various versions of the Xen package. Users should update to the specified patched versions to mitigate the risk.

If immediate patching is not possible, consider implementing stricter access controls and monitoring domain interactions as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.18.5-r2

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback