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-24684

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

CVE-2026-24684 is a use-after-free vulnerability in FreeRDP that occurs when the RDPSND async playback thread processes queued PDUs after channel closure. This article covers technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-24684 Overview

CVE-2026-24684 is a Use After Free vulnerability in FreeRDP, a free implementation of the Remote Desktop Protocol (RDP). Prior to version 3.22.0, the RDPSND async playback thread can process queued Protocol Data Units (PDUs) after the channel is closed and internal state is freed, leading to a use after free condition in the rdpsnd_treat_wave function.

This vulnerability affects the sound redirection channel (RDPSND) which handles audio playback during RDP sessions. The flaw occurs due to improper thread synchronization during channel cleanup, where the asynchronous playback thread continues to access memory that has already been deallocated.

Critical Impact

Remote attackers can exploit this use after free vulnerability over the network without authentication, potentially causing denial of service through application crashes. The asynchronous nature of the vulnerability makes it particularly dangerous in production RDP environments.

Affected Products

  • FreeRDP versions prior to 3.22.0
  • Applications and systems using vulnerable FreeRDP libraries for RDP connectivity
  • Linux, Windows, and macOS systems running unpatched FreeRDP clients

Discovery Timeline

  • 2026-02-09 - CVE-2026-24684 published to NVD
  • 2026-02-10 - Last updated in NVD database

Technical Details for CVE-2026-24684

Vulnerability Analysis

The vulnerability exists in the RDPSND (Remote Desktop Protocol Sound) channel implementation within FreeRDP. This channel is responsible for redirecting audio from the remote desktop server to the local client. The use after free condition (CWE-416) occurs because the asynchronous playback thread continues processing queued PDUs even after the channel cleanup routine has freed the associated internal state structures.

The core issue stems from a race condition between the channel cleanup process and the async playback thread. When an RDP session terminates or the sound channel is closed, the cleanup routine frees memory structures while the playback thread may still be actively processing audio data from its message queue. This results in the thread accessing freed memory, leading to undefined behavior.

Root Cause

The root cause is insufficient thread lifecycle management in the RDPSND channel implementation. The cleanup_internals function was deallocating memory structures without first ensuring the async playback thread had been properly terminated and its message queue drained. This violates proper thread synchronization principles and creates a window where the thread can access invalid memory.

Attack Vector

This vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker controlling a malicious RDP server can manipulate the timing of RDPSND channel operations to trigger the use after free condition when a victim connects. The attack involves:

  1. Victim connects to attacker-controlled RDP server
  2. Attacker initiates sound channel communication
  3. Attacker manipulates channel state to trigger cleanup while PDUs are still queued
  4. Async playback thread processes queued PDUs against freed memory

The security patch introduces the rdpsnd_terminate_thread function to properly manage thread lifecycle:

c
static void rdpsnd_terminate_thread(rdpsndPlugin* rdpsnd)
{
	WINPR_ASSERT(rdpsnd);
	if (rdpsnd->queue)
		MessageQueue_PostQuit(rdpsnd->queue, 0);

	if (rdpsnd->thread)
	{
		(void)WaitForSingleObject(rdpsnd->thread, INFINITE);
		(void)CloseHandle(rdpsnd->thread);
	}

	MessageQueue_Free(rdpsnd->queue);
	rdpsnd->thread = NULL;
	rdpsnd->queue = NULL;
}

static void cleanup_internals(rdpsndPlugin* rdpsnd)
{
	if (!rdpsnd)
		return;

	rdpsnd_terminate_thread(rdpsnd);
	if (rdpsnd->pool)
		StreamPool_Return(rdpsnd->pool, rdpsnd->data_in);

Source: GitHub Commit Changes

The fix ensures the playback thread is terminated by posting a quit message to its queue, waiting for thread completion, and closing the handle before any memory deallocation occurs.

Detection Methods for CVE-2026-24684

Indicators of Compromise

  • Unexpected FreeRDP client crashes during or after RDP session termination
  • Memory access violations or segmentation faults in rdpsnd_treat_wave function
  • Core dumps indicating use after free in RDPSND channel code paths
  • Abnormal RDP sound channel behavior with rapid channel open/close sequences

Detection Strategies

  • Monitor for FreeRDP process crashes with stack traces referencing rdpsnd_main.c or rdpsnd_treat_wave
  • Implement application-level crash monitoring to detect repeated RDPSND-related failures
  • Deploy memory safety tools (AddressSanitizer, Valgrind) in development environments to catch use after free conditions
  • Analyze network traffic for unusual RDPSND channel manipulation patterns

Monitoring Recommendations

  • Enable verbose logging for FreeRDP connections to capture channel lifecycle events
  • Configure crash reporting to aggregate FreeRDP client failures for pattern analysis
  • Monitor system logs for memory corruption indicators associated with RDP client processes
  • Implement endpoint detection for abnormal RDP client behavior

How to Mitigate CVE-2026-24684

Immediate Actions Required

  • Upgrade FreeRDP to version 3.22.0 or later immediately
  • Review all systems and applications using FreeRDP libraries and schedule updates
  • Consider disabling sound redirection temporarily if patches cannot be applied immediately
  • Restrict RDP connections to trusted servers only until patching is complete

Patch Information

The vulnerability is fixed in FreeRDP version 3.22.0. The fix introduces proper thread termination handling that ensures the async playback thread is gracefully stopped before any memory deallocation occurs. Two commits address this issue:

  • Primary Fix - Introduces rdpsnd_terminate_thread function
  • Additional Fix - Thread cleanup refinements

For full details, see the GitHub Security Advisory GHSA-vcgv-xgjp-h83q.

Workarounds

  • Disable sound redirection in FreeRDP connections using /sound:off or equivalent configuration
  • Use network-level controls to restrict RDP connections to known, trusted servers
  • Implement application whitelisting to prevent connections to potentially malicious RDP endpoints
  • Consider using alternative RDP clients until patching is possible
bash
# Disable sound redirection in FreeRDP
xfreerdp /v:server.example.com /u:username /sound:off

# Or via configuration file
# Set AudioRedirection = 0 in FreeRDP configuration

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 Score8.7

  • EPSS Probability0.04%

  • 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:X/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
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Commit Updates

  • GitHub Security Advisory GHSA-vcgv-xgjp-h83q
  • 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