Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-58147

CVE-2025-58147: Xen Buffer Overflow Vulnerability

CVE-2025-58147 is a buffer overflow vulnerability in Xen hypervisor affecting Viridian hypercalls. The flaw allows out-of-bounds writes in vpmask_set() when processing HV_VP_SET Sparse format inputs. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 15, 2026

CVE-2025-58147 Overview

CVE-2025-58147 is an out-of-bounds memory access vulnerability affecting Xen hypervisor's Viridian hypercall implementation. The vulnerability exists in the boundary checking logic when processing vCPU ID masks specified in hypercall inputs. Specifically, hypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to write out of bounds when converting the bitmap to Xen's internal format.

This vulnerability is part of a series of related issues (including CVE-2025-58148) where Xen's boundary checking bugs across all three vCPU mask input formats can lead to out-of-bounds reads and writes during input processing.

Critical Impact

Network-accessible out-of-bounds write vulnerability in Xen hypervisor could allow unauthorized information disclosure and potential compromise of hypervisor integrity in virtualized environments.

Affected Products

  • Xen Hypervisor (all versions with Viridian hypercall support)
  • Systems running Xen with HyperV-compatible guest VMs
  • Cloud and virtualization infrastructure utilizing Xen

Discovery Timeline

  • 2025-10-31 - CVE-2025-58147 published to NVD
  • 2026-01-14 - Last updated in NVD database

Technical Details for CVE-2025-58147

Vulnerability Analysis

The vulnerability resides in Xen's implementation of Viridian hypercalls, which provide compatibility with Microsoft HyperV interfaces. When guest VMs invoke certain hypercalls, they can specify a mask of vCPU IDs as input using one of three supported formats. The HV_VP_SET Sparse format, in particular, lacks proper boundary validation.

When processing these inputs, the vpmask_set() function converts the guest-provided bitmap to Xen's internal format. Due to insufficient boundary checking, a malicious or compromised guest VM can craft inputs that cause the function to write beyond allocated memory boundaries. This out-of-bounds write condition can lead to information disclosure from host memory.

Root Cause

The root cause is inadequate bounds checking in the Viridian hypercall handler code. When converting vCPU bitmaps from HV_VP_SET Sparse format to Xen's internal representation, the code fails to properly validate that the specified vCPU IDs fall within the allocated bounds of the target data structure. This allows guest-controlled input to influence memory operations outside intended boundaries.

Attack Vector

The attack vector is network-accessible without requiring authentication or user interaction. An attacker with control over a guest VM can exploit this vulnerability by:

  1. Crafting a malicious Viridian hypercall using the HV_VP_SET Sparse format
  2. Specifying vCPU ID values that exceed the expected boundaries
  3. Triggering the vpmask_set() function to perform out-of-bounds memory operations
  4. Potentially reading sensitive information from hypervisor memory

The vulnerability requires no privileges beyond the ability to execute hypercalls from within a guest VM, making it exploitable in multi-tenant cloud environments where guests from different security domains share the same hypervisor.

Detection Methods for CVE-2025-58147

Indicators of Compromise

  • Unusual hypercall activity patterns from guest VMs, particularly HV_VP_SET operations
  • Hypervisor memory corruption or unexpected behavior following Viridian hypercalls
  • Guest VMs attempting to specify abnormally large vCPU ID values in hypercall parameters
  • Xen hypervisor crashes or stability issues related to vCPU mask processing

Detection Strategies

  • Monitor Xen hypervisor logs for hypercall failures or boundary violations
  • Implement hypervisor-level auditing of Viridian hypercall invocations
  • Deploy memory integrity monitoring to detect out-of-bounds access patterns
  • Utilize SentinelOne Singularity platform for real-time hypervisor anomaly detection

Monitoring Recommendations

  • Enable verbose logging for Viridian hypercall subsystem in Xen
  • Configure alerts for abnormal vCPU mask values in hypercall parameters
  • Monitor for guest VMs exhibiting unusual hypercall patterns or frequencies
  • Implement network-level monitoring for signs of data exfiltration from hypervisor environments

How to Mitigate CVE-2025-58147

Immediate Actions Required

  • Review the Xen Project Advisory XSA-475 for complete vulnerability details
  • Assess exposure by identifying all Xen deployments with Viridian hypercall support enabled
  • Prioritize patching for internet-facing or multi-tenant virtualization infrastructure
  • Consider disabling Viridian hypercall support temporarily if not required for guest compatibility

Patch Information

Xen Project has released security patches addressing this vulnerability under advisory XSA-475. Administrators should apply the latest security updates from the Xen Project. Detailed patch information and updated packages are available through the official Xen security advisory and the OpenWall OSS Security Notice.

Workarounds

  • Disable Viridian (HyperV) compatibility mode for Xen guests that do not require it by removing the viridian option from guest configurations
  • Implement network segmentation to limit guest VM access to critical hypervisor interfaces
  • Deploy additional monitoring and access controls around virtualization management infrastructure
  • Consider migrating critical workloads to patched hypervisor instances until remediation is complete
bash
# Disable Viridian support in Xen guest configuration
# Edit the guest configuration file (e.g., /etc/xen/guest.cfg)
# Remove or comment out Viridian-related options:
# viridian = 0
# viridian_time_ref_count = 0
# viridian_reference_tsc = 0

# Restart affected guest VMs after configuration changes
xl shutdown guest-name
xl create /etc/xen/guest-name.cfg

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechXen

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-125
  • Vendor Resources
  • Xen Project Advisory XSA-475

  • OpenWall OSS Security Notice

  • Xen Advisory XSA-475
  • Related CVEs
  • CVE-2025-58148: Xen Buffer Overflow Vulnerability

  • CVE-2024-31142: Xen Buffer Overflow Vulnerability

  • CVE-2026-31788: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23555: Xenstored Denial of Service Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English