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-2026-22856

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

CVE-2026-22856 is a use-after-free vulnerability in FreeRDP caused by a race condition in serial channel IRP thread tracking. This post covers the technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2026-22856 Overview

CVE-2026-22856 is a race condition vulnerability in FreeRDP, the widely-used open-source implementation of the Remote Desktop Protocol (RDP). The vulnerability exists in versions prior to 3.20.1 and involves a race condition in the serial channel IRP (I/O Request Packet) thread tracking mechanism. When one thread removes an entry from serial->IrpThreads while another thread simultaneously reads it, a heap use-after-free condition occurs. This memory safety issue could potentially allow attackers to manipulate freed memory, leading to unpredictable behavior or potential code execution.

Critical Impact

Successful exploitation of this use-after-free vulnerability could allow an attacker to execute arbitrary code or cause denial of service through memory corruption in FreeRDP client applications.

Affected Products

  • FreeRDP versions prior to 3.20.1
  • All platforms running vulnerable FreeRDP client implementations
  • Applications and systems that integrate FreeRDP libraries

Discovery Timeline

  • 2026-01-14 - CVE CVE-2026-22856 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2026-22856

Vulnerability Analysis

This vulnerability is classified under CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization), commonly known as a race condition. The flaw resides in the serial channel subsystem of FreeRDP, specifically in how IRP thread references are managed across concurrent operations.

The serial channel in FreeRDP handles I/O request packets for serial port redirection during RDP sessions. The serial->IrpThreads data structure maintains references to active IRP processing threads. Without proper synchronization primitives protecting this shared resource, concurrent access leads to a time-of-check time-of-use (TOCTOU) condition.

When exploited, the use-after-free condition occurs because one thread may dereference a pointer to an IRP thread entry that another thread has already freed. This results in accessing deallocated heap memory, which could contain attacker-controlled data if the heap has been manipulated.

Root Cause

The root cause is insufficient thread synchronization in the serial channel's IRP thread management code. The serial->IrpThreads collection lacks proper locking mechanisms to ensure atomic operations when threads are added, removed, or accessed. This allows a race window where:

  1. Thread A begins iterating over or reading from serial->IrpThreads
  2. Thread B removes an entry from serial->IrpThreads and frees associated memory
  3. Thread A continues execution and dereferences the now-freed memory

Attack Vector

The vulnerability is exploitable via network attack vector, though exploitation requires specific conditions to be met. An attacker would need to:

  1. Establish an RDP connection to a vulnerable FreeRDP client (typically through a malicious or compromised RDP server)
  2. Trigger serial port redirection functionality
  3. Send carefully timed serial channel messages to create the race condition
  4. Manipulate heap layout to control the contents of freed memory

Exploitation complexity is high due to the timing-dependent nature of race conditions and the need for user interaction to initiate the RDP connection. The vulnerability description indicates proof-of-concept exploit code exists (E:P in CVSS vector), suggesting the race condition is reproducible under controlled conditions.

The vulnerability manifests during concurrent IRP thread operations in the serial channel subsystem. For detailed technical analysis of the race condition and the synchronization fix, refer to the GitHub Security Advisory GHSA-w842-c386-fxhv.

Detection Methods for CVE-2026-22856

Indicators of Compromise

  • Unexpected crashes or segmentation faults in FreeRDP client processes during RDP sessions with serial port redirection
  • Anomalous memory access patterns or heap corruption errors in system logs
  • Unusual serial channel activity during RDP connections from untrusted servers

Detection Strategies

  • Monitor FreeRDP client processes for crash events or abnormal termination, particularly when serial port redirection is active
  • Implement endpoint detection rules to identify FreeRDP versions prior to 3.20.1 across the environment
  • Deploy memory protection technologies that detect use-after-free access patterns

Monitoring Recommendations

  • Enable verbose logging for FreeRDP client connections to capture serial channel activity
  • Monitor network traffic for suspicious RDP server behavior that may attempt to trigger serial channel race conditions
  • Implement application crash monitoring with stack trace collection for forensic analysis

How to Mitigate CVE-2026-22856

Immediate Actions Required

  • Upgrade all FreeRDP installations to version 3.20.1 or later immediately
  • Audit systems for FreeRDP client usage and create an inventory of affected deployments
  • Consider temporarily disabling serial port redirection if upgrading is not immediately feasible
  • Restrict RDP connections to trusted servers only until patching is complete

Patch Information

The FreeRDP development team has addressed this vulnerability in version 3.20.1. The fix implements proper synchronization primitives around the serial->IrpThreads data structure to prevent concurrent access issues.

Organizations should obtain the patched version from the official FreeRDP Release 3.20.1. For detailed information about the security fix, consult the GitHub Security Advisory GHSA-w842-c386-fxhv.

Workarounds

  • Disable serial port redirection by removing the /serial: parameter from FreeRDP command-line options
  • Restrict FreeRDP client connections to known, trusted RDP servers only
  • Implement network segmentation to limit exposure of vulnerable clients to potentially malicious RDP servers
  • Deploy application control policies to prevent execution of vulnerable FreeRDP versions
bash
# Verify FreeRDP version and upgrade if necessary
xfreerdp --version

# Example: Connect without serial redirection as a workaround
xfreerdp /v:trusted-server.example.com /u:username
# Avoid using /serial: parameter until patched

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 Score6.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/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
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Technical References
  • FreeRDP Release 3.20.1
  • Vendor Resources
  • GitHub Security Advisory GHSA-w842-c386-fxhv
  • 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