The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-58143

CVE-2025-58143: Xen Race Condition Vulnerability

CVE-2025-58143 is a race condition vulnerability in Xen hypervisor affecting reference TSC page mapping. Attackers can exploit this to free pages while present in guest p2m tables. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 24, 2026

CVE-2025-58143 Overview

CVE-2025-58143 is a critical race condition vulnerability in the Xen hypervisor's viridian code that handles guest memory page mapping. This vulnerability is part of a set of related issues (including CVE-2025-27466 and CVE-2025-58142) affecting how guest memory pages are handled and accessed within Xen's viridian implementation.

The specific vulnerability exists in the mapping of the reference TSC (Time Stamp Counter) page, where a malicious guest can exploit a race condition to cause Xen to free a page while it is still present in the guest physical to machine (p2m) page tables. This can lead to use-after-free conditions, memory corruption, and potential privilege escalation or hypervisor escape scenarios.

Critical Impact

A malicious guest VM can exploit this race condition to manipulate hypervisor memory management, potentially leading to privilege escalation, denial of service, or hypervisor compromise affecting all hosted virtual machines.

Affected Products

  • Xen Hypervisor (x86 architecture)
  • Xen-based virtualization platforms using viridian enlightenments
  • Cloud and enterprise environments running Xen with Windows guests using Hyper-V compatible interfaces

Discovery Timeline

  • 2025-09-11 - CVE CVE-2025-58143 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-58143

Vulnerability Analysis

This vulnerability is classified as a Race Condition (CWE-366), specifically a Time-of-Check Time-of-Use (TOCTOU) issue in the Xen hypervisor's viridian code. The viridian interface provides Hyper-V compatible enlightenments to guest operating systems, allowing them to interact more efficiently with the hypervisor.

The vulnerability affects the reference TSC page mapping mechanism, which is used to provide high-precision timing information to guest VMs. When a guest requests mapping of the reference TSC page, a race condition exists between the page validation/mapping operations and subsequent memory management operations. An attacker can exploit this timing window to trigger a page free operation while the page reference remains in the guest's p2m tables.

This is one of three related vulnerabilities in the viridian code:

  1. CVE-2025-27466: NULL pointer dereference in reference TSC area updates
  2. CVE-2025-58142: NULL pointer dereference when delivering synthetic timer messages via unmapped SIM page
  3. CVE-2025-58143: Race condition in reference TSC page mapping (this vulnerability)

Root Cause

The root cause is improper synchronization in the viridian code's handling of reference TSC page mapping. The code fails to properly serialize access to the page mapping state, creating a window where:

  1. The hypervisor validates and begins mapping a page for the guest
  2. Before the operation completes atomically, another thread or operation path frees the page
  3. The page remains referenced in the p2m tables after being freed
  4. Subsequent accesses to this "stale" mapping can corrupt memory or cause other undefined behavior

The lack of proper locking or atomic operations around the complete map-and-reference cycle allows a carefully timed guest operation to exploit this race window.

Attack Vector

The attack can be initiated from within a guest VM, making it a guest-to-hypervisor attack vector. A malicious guest administrator or compromised guest can:

  1. Initiate reference TSC page mapping requests in rapid succession
  2. Simultaneously trigger operations that would cause page unmapping or freeing
  3. Win the race condition to leave a dangling reference in the p2m tables
  4. Use the dangling reference to access freed memory, potentially corrupting hypervisor state

The exploitation of this vulnerability could allow a malicious guest VM to escape its isolation boundaries, impact other guest VMs on the same host, or compromise the hypervisor itself. For more technical details, refer to the Xen Project Security Advisory XSA-472.

Detection Methods for CVE-2025-58143

Indicators of Compromise

  • Unexpected hypervisor crashes or instability, particularly related to memory management operations
  • Anomalous patterns in guest VM timing-related hypercalls, especially reference TSC page operations
  • Memory corruption signatures in Xen crash dumps pointing to p2m table inconsistencies
  • Guest VMs exhibiting unusual behavior around timing synchronization operations

Detection Strategies

  • Monitor hypervisor logs for memory management errors or warnings related to p2m table operations
  • Implement runtime integrity checking for critical hypervisor data structures
  • Deploy host-based intrusion detection systems that can monitor for anomalous hypercall patterns
  • Enable Xen debugging facilities to capture detailed traces of viridian-related operations during incident investigation

Monitoring Recommendations

  • Enable comprehensive Xen event logging, particularly for viridian and memory management subsystems
  • Configure alerting for hypervisor stability events such as unexpected domain crashes or memory errors
  • Monitor guest VM behavior for rapid, repetitive hypercall patterns that may indicate exploitation attempts
  • Implement centralized log collection for Xen hosts to enable correlation of suspicious activities across infrastructure

How to Mitigate CVE-2025-58143

Immediate Actions Required

  • Review the Xen Project Security Advisory XSA-472 for detailed patch information
  • Apply vendor-provided security patches for Xen hypervisor immediately
  • Prioritize patching of production systems hosting sensitive or multi-tenant workloads
  • Consider temporarily disabling viridian enlightenments for untrusted guest VMs if patching cannot be performed immediately

Patch Information

Security patches addressing this vulnerability are available through the Xen Project. The advisory XSA-472 covers this vulnerability along with the related CVE-2025-27466 and CVE-2025-58142 issues. Administrators should apply all patches from this advisory to ensure complete remediation.

Consult the Xen Project Security Advisory for specific patch versions and commit hashes applicable to your Xen deployment. Additional discussion and context is available on the OpenWall OSS-Security Mailing List.

Workarounds

  • Disable viridian enlightenments for untrusted or high-risk guest VMs by setting viridian=0 in guest domain configuration
  • Restrict guest VM creation and management to trusted administrators only
  • Implement network segmentation to limit the impact of potential hypervisor compromise
  • Consider migrating critical workloads to patched hosts while updates are being rolled out
bash
# Example: Disable viridian enlightenments in Xen domain configuration
# Add to /etc/xen/vm-config.cfg or domain configuration file
viridian = 0

# Alternatively, disable specific viridian features if full disablement impacts performance
# Consult Xen documentation for granular control options

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechXen

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-366
  • Technical References
  • OpenWall OSS-Security Mailing List

  • Xen Project Security Advisory
  • Vendor Resources
  • Xen Project Security Advisory
  • Related CVEs
  • CVE-2024-31143: Xen Race Condition Vulnerability

  • CVE-2025-58142: Xen Race Condition 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