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

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

CVE-2026-23884 is a use-after-free flaw in FreeRDP that allows malicious servers to trigger client crashes and potential code execution. This post covers technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2026-23884 Overview

CVE-2026-23884 is a Use-After-Free vulnerability affecting FreeRDP, a widely-used open source implementation of the Remote Desktop Protocol (RDP). The vulnerability exists in how the FreeRDP client handles offscreen bitmap deletion, where the gdi->drawing pointer is left pointing to freed memory. When related update packets arrive after the bitmap has been deleted, the client attempts to access this freed memory, resulting in a use-after-free condition.

This client-side vulnerability can be triggered by a malicious RDP server, allowing an attacker to cause denial of service through application crashes. More critically, depending on the memory allocator behavior and surrounding heap layout, this vulnerability may lead to heap corruption with potential remote code execution implications.

Critical Impact

A malicious RDP server can exploit this use-after-free vulnerability to crash FreeRDP clients (DoS) and potentially achieve remote code execution through heap corruption.

Affected Products

  • FreeRDP versions prior to 3.21.0
  • Applications and systems using vulnerable FreeRDP libraries
  • Linux, Windows, and macOS systems running affected FreeRDP clients

Discovery Timeline

  • 2026-01-19 - CVE-2026-23884 published to NVD
  • 2026-01-19 - Last updated in NVD database

Technical Details for CVE-2026-23884

Vulnerability Analysis

The vulnerability is classified under CWE-416 (Use After Free) and resides in the offscreen bitmap caching mechanism within FreeRDP's GDI subsystem. The core issue occurs in the libfreerdp/cache/offscreen.c file where bitmap deletion operations fail to properly invalidate the gdi->drawing pointer after freeing the associated memory.

When an offscreen bitmap is deleted from the cache, the memory associated with that bitmap is freed. However, if gdi->drawing was pointing to this bitmap at the time of deletion, the pointer continues to reference the now-freed memory location. Subsequently, when the FreeRDP client processes related update packets that reference the drawing surface, the code attempts to access memory through this dangling pointer.

This memory access pattern creates a classic use-after-free scenario. The exploitability depends significantly on heap implementation characteristics—specifically, whether the freed memory has been reallocated for other purposes between the free operation and the subsequent access. In favorable conditions for an attacker, this could enable controlled data to be written to or read from the freed memory region, potentially leading to arbitrary code execution.

Root Cause

The root cause is improper memory management in the offscreen bitmap cache handling. When deleting an offscreen bitmap, the code fails to check whether gdi->drawing points to the bitmap being deleted and does not nullify or redirect this pointer to a valid drawing surface. This leaves a dangling pointer that can be dereferenced when processing subsequent RDP protocol messages.

The vulnerable code paths are located in the offscreen cache implementation at libfreerdp/cache/offscreen.c, specifically around lines 87-91 and 114-122 where bitmap deletion and drawing surface management occur.

Attack Vector

The attack requires a victim to connect to a malicious RDP server controlled by the attacker. The attack proceeds as follows:

  1. The victim's FreeRDP client connects to the attacker-controlled RDP server
  2. The malicious server sends crafted RDP protocol messages that cause an offscreen bitmap to be created and set as the current drawing surface
  3. The server then sends a message triggering deletion of this offscreen bitmap, freeing the memory while gdi->drawing still references it
  4. Finally, the server sends update packets that cause the client to access the freed memory through the dangling gdi->drawing pointer
  5. This results in a crash (DoS) and potentially arbitrary code execution if the heap layout is favorable

The vulnerability is exploited over the network with no authentication required from the attacker's perspective—the victim simply needs to initiate a connection to the malicious server.

Detection Methods for CVE-2026-23884

Indicators of Compromise

  • Unexpected FreeRDP client crashes during RDP sessions, particularly with SIGSEGV or memory access violations
  • Core dumps showing crashes in offscreen bitmap or GDI-related functions
  • Network traffic showing unusual sequences of offscreen bitmap create/delete operations followed by drawing commands
  • Heap corruption detection alerts from memory sanitizers or security tools during FreeRDP execution

Detection Strategies

  • Monitor for FreeRDP process crashes and collect crash dumps for analysis, specifically looking for crashes in offscreen.c or GDI subsystem code
  • Deploy endpoint detection tools that can identify memory corruption patterns in FreeRDP processes
  • Use network intrusion detection systems to flag suspicious RDP traffic patterns from untrusted servers
  • Enable AddressSanitizer or similar memory debugging tools in development and testing environments to catch use-after-free conditions

Monitoring Recommendations

  • Implement logging of all outbound RDP connections to external or untrusted servers
  • Configure endpoint protection solutions to monitor FreeRDP binary execution and detect abnormal memory access patterns
  • Establish alerts for repeated FreeRDP crashes that may indicate exploitation attempts
  • Review network security policies to restrict RDP client connections to trusted server destinations only

How to Mitigate CVE-2026-23884

Immediate Actions Required

  • Upgrade FreeRDP to version 3.21.0 or later immediately on all affected systems
  • Audit systems for FreeRDP installations and prioritize patching for internet-facing or high-risk endpoints
  • Restrict FreeRDP connections to trusted, authenticated RDP servers only
  • Consider temporarily disabling FreeRDP functionality if immediate patching is not possible

Patch Information

FreeRDP version 3.21.0 contains the official fix for this vulnerability. The patch properly handles the gdi->drawing pointer during offscreen bitmap deletion to prevent the dangling pointer condition. Users should upgrade to this version or later by obtaining the release from the official FreeRDP releases page.

For detailed information about the vulnerability and the fix, refer to the GitHub Security Advisory GHSA-cfgj-vc84-f3pp.

Workarounds

  • Implement network segmentation to prevent FreeRDP clients from connecting to untrusted RDP servers
  • Use firewall rules to whitelist approved RDP server destinations and block connections to unknown hosts
  • Deploy application control policies that restrict FreeRDP usage to authorized users and use cases
  • Configure VPN requirements for all remote desktop connections to reduce exposure to malicious servers

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

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • FreeRDP Code Reference

  • FreeRDP Code Reference

  • FreeRDP Release 3.21.0

  • GitHub Security Advisory GHSA-cfgj-vc84-f3pp
  • 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