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
    • 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-2026-25953

CVE-2026-25953: FreeRDP Use-After-Free Vulnerability

CVE-2026-25953 is a use-after-free vulnerability in FreeRDP that occurs when concurrent threads access freed window memory. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-25953 Overview

CVE-2026-25953 is a Use-After-Free vulnerability discovered in FreeRDP, a widely-used free implementation of the Remote Desktop Protocol (RDP). The vulnerability exists in the xf_AppUpdateWindowFromSurface function within the X11 client, where a race condition between the RDPGFX DVC thread and the main thread can lead to accessing freed memory.

The flaw occurs because the RDPGFX DVC thread obtains a bare pointer to an xfAppWindow structure via xf_rail_get_window without any lifetime protection mechanism. Concurrently, the main thread can delete the window through a fastpath window-delete order, leaving the RDPGFX thread with a dangling pointer to freed memory.

Critical Impact

This Use-After-Free vulnerability in FreeRDP's X11 RAIL implementation can be triggered remotely over a network connection, potentially causing denial of service through application crashes when connecting to malicious RDP servers.

Affected Products

  • FreeRDP versions prior to 3.23.0
  • FreeRDP X11 client implementations using RAIL (Remote Application Integrated Locally) functionality
  • Systems running vulnerable FreeRDP versions with remote application support enabled

Discovery Timeline

  • 2026-02-25 - CVE-2026-25953 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-25953

Vulnerability Analysis

This Use-After-Free vulnerability (CWE-416) affects FreeRDP's X11 client implementation, specifically in how it handles window objects within the RAIL subsystem. The vulnerability is exploitable over the network when a FreeRDP client connects to a malicious or compromised RDP server.

The core issue stems from inadequate synchronization between two concurrent execution paths within the FreeRDP client. The RDPGFX (Remote Desktop Protocol Graphics Pipeline Extension) Dynamic Virtual Channel operates in its own thread and requires access to window objects to perform surface updates. Meanwhile, the main thread processes fastpath orders from the RDP server, including window deletion commands.

When the main thread processes a window-delete order, it frees the xfAppWindow structure. If the RDPGFX thread is simultaneously holding a pointer to this window—obtained earlier via xf_rail_get_window—it will subsequently attempt to read from freed memory, triggering undefined behavior that typically manifests as a crash.

Root Cause

The root cause is a classic race condition resulting from missing synchronization primitives around window object access. The xf_rail_get_window function returns a raw pointer to the xfAppWindow structure without acquiring any lock or incrementing a reference count. This creates a Time-of-Check Time-of-Use (TOCTOU) window where the object's validity can change between when the pointer is obtained and when it is used.

The vulnerable code path involves:

  1. RDPGFX thread calls xf_rail_get_window to get a pointer to an xfAppWindow
  2. Main thread receives a fastpath window-delete order
  3. Main thread frees the xfAppWindow structure
  4. RDPGFX thread accesses the now-freed memory through its stale pointer

Attack Vector

An attacker controlling a malicious RDP server could exploit this vulnerability by sending carefully timed sequences of RDPGFX surface update commands and window deletion orders. The attack requires:

  1. A victim connecting to an attacker-controlled RDP server
  2. The attacker initiating a RAIL session with remote application windows
  3. Sending concurrent graphics updates and window deletion commands to trigger the race condition

The following code shows the security patch that addresses this vulnerability by adding proper locking around window access:

c
 	}
 	if (xfc->remote_app)
 	{
+		Window w = 0;
+		HashTable_Lock(xfc->railWindows);
 		if (!xfc->appWindow)
-		{
 			WLog_WARN(TAG, "xf_Pointer: Invalid appWindow");
-			return 0;
-		}
-		return xfc->appWindow->handle;
+		else
+			w = xfc->appWindow->handle;
+		HashTable_Unlock(xfc->railWindows);
+		return w;
 	}
 	else
 	{

Source: FreeRDP Commit Update

The patch introduces proper locking using HashTable_Lock and HashTable_Unlock around window access operations, ensuring thread-safe access to the railWindows hash table.

Detection Methods for CVE-2026-25953

Indicators of Compromise

  • FreeRDP client crashes with segmentation faults during active RDP sessions
  • Core dumps showing memory access violations in xf_AppUpdateWindowFromSurface or related RAIL functions
  • Unusual patterns of window creation and deletion orders from RDP servers in network traffic

Detection Strategies

  • Monitor FreeRDP client processes for abnormal termination or crash signals (SIGSEGV, SIGABRT)
  • Implement application crash monitoring to detect repeated FreeRDP failures when connecting to specific servers
  • Review RDP session logs for suspicious patterns of rapid window operations that could indicate exploitation attempts

Monitoring Recommendations

  • Deploy endpoint detection rules to identify FreeRDP client crashes with stack traces containing xf_rail or xf_window functions
  • Monitor network connections for RDP sessions to untrusted or unknown servers
  • Implement alerting for multiple FreeRDP process restarts within short time periods

How to Mitigate CVE-2026-25953

Immediate Actions Required

  • Upgrade FreeRDP to version 3.23.0 or later immediately on all systems using FreeRDP clients
  • Audit all systems for FreeRDP installations and verify version numbers using xfreerdp --version
  • Restrict RDP connections to trusted, known servers until patches are applied
  • Consider disabling RAIL functionality if remote applications are not required

Patch Information

The vulnerability has been fixed in FreeRDP version 3.23.0. The security patch implements proper locking mechanisms around window object access in the X11 client. The fix adds HashTable_Lock and HashTable_Unlock calls to protect concurrent access to the railWindows hash table, ensuring that window pointers remain valid throughout their use.

For detailed patch information, refer to the FreeRDP Security Advisory and the FreeRDP Commit Update.

Workarounds

  • Disable remote application (RAIL) functionality by avoiding the /app: or /rail: command-line options when launching FreeRDP
  • Use alternative RDP clients that are not affected by this vulnerability until patching is complete
  • Implement network-level restrictions to prevent connections to untrusted RDP servers
  • Run FreeRDP clients in sandboxed environments to limit the impact of potential crashes
bash
# Check FreeRDP version to verify patch status
xfreerdp --version

# Example: Connect without RAIL functionality to mitigate risk
xfreerdp /v:server.example.com /u:username /dynamic-resolution

# Verify no remote app flags are being used in connection scripts
grep -r "\/app:\|\/rail:" /etc/xrdp/ ~/.config/freerdp/

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechFreerdp

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-416
  • Technical References
  • FreeRDP X11 Code Snippet

  • FreeRDP X11 Function Code

  • FreeRDP X11 Code Section

  • FreeRDP Window Code Section

  • FreeRDP Window Function Code

  • FreeRDP Window Code Block

  • FreeRDP GDI Graphics Code

  • FreeRDP GDI Graphics Snippet

  • FreeRDP Commit Update

  • FreeRDP Security Advisory
  • Related CVEs
  • CVE-2026-33995: FreeRDP Use-After-Free Vulnerability

  • CVE-2026-31897: FreeRDP Use-After-Free Vulnerability

  • CVE-2026-25959: FreeRDP Use After Free Vulnerability

  • CVE-2026-25955: FreeRDP Use-After-Free 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