A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-24677

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

CVE-2026-24677 is a use-after-free vulnerability in FreeRDP that allows out-of-bounds read attacks through unvalidated server-controlled dimensions. This article covers technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-24677 Overview

CVE-2026-24677 is a high-severity out-of-bounds read vulnerability affecting FreeRDP, the widely-used open-source implementation of the Remote Desktop Protocol (RDP). The vulnerability exists in the ecam_encoder_compress_h264 function, which improperly trusts server-controlled dimensions without validating the source buffer size, resulting in an out-of-bounds read condition when calling sws_scale. This flaw allows a malicious RDP server to trigger memory access violations in connected clients, potentially leading to denial of service or information disclosure.

Critical Impact

Remote attackers operating a malicious RDP server can exploit this vulnerability to cause denial of service conditions in FreeRDP clients by triggering out-of-bounds memory reads through manipulated dimension parameters.

Affected Products

  • FreeRDP versions prior to 3.22.0
  • FreeRDP rdpecam channel implementations using H.264 encoding
  • Systems utilizing FreeRDP client libraries for Remote Desktop connections

Discovery Timeline

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

Technical Details for CVE-2026-24677

Vulnerability Analysis

This vulnerability represents an out-of-bounds read condition in FreeRDP's camera redirection channel (rdpecam). The core issue lies in the ecam_encoder_compress_h264 function's handling of video stream dimensions. When processing H.264 encoded camera data, the function accepts dimension parameters that are controlled by the remote server without performing adequate validation against the actual source buffer size.

The vulnerable code path involves the sws_scale function from the FFmpeg/libswscale library, which performs image scaling and format conversion. When the server provides malicious dimensions that exceed the actual buffer boundaries, sws_scale attempts to read beyond allocated memory regions, resulting in an out-of-bounds read condition.

Root Cause

The root cause of CVE-2026-24677 is improper input validation in the CameraDeviceStream structure handling. The vulnerability stems from a missing size validation check that should ensure the sws (software scaling) context dimensions match the actual source buffer dimensions. The patch introduces swsWidth and swsHeight tracking variables to the CameraDeviceStream structure, enabling proper validation before scaling operations occur.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction beyond establishing an RDP connection to a malicious server. An attacker could set up a rogue RDP server configured to send crafted camera redirection responses with manipulated dimension parameters. When a victim's FreeRDP client connects and enables camera redirection functionality, the malicious server can trigger the out-of-bounds read by specifying dimensions that exceed the client's buffer boundaries.

c
// Security patch in channels/rdpecam/client/camera.h
// Source: https://github.com/FreeRDP/FreeRDP/commit/d2d4f449312ddafd4a4c6c8a4f856c7f0d44a3b5

 #endif
 
 	/* sws_scale */
+	uint32_t swsWidth;
+	uint32_t swsHeight;
 	struct SwsContext* sws;
 
 } CameraDeviceStream;

The fix adds explicit tracking of the sws context dimensions (swsWidth and swsHeight) to the CameraDeviceStream structure, allowing the code to validate that scaling operations do not exceed the allocated buffer size.

Detection Methods for CVE-2026-24677

Indicators of Compromise

  • Unexpected FreeRDP client crashes or segmentation faults during RDP sessions
  • Memory access violation errors in system logs related to FreeRDP processes
  • Abnormal RDP traffic patterns with unusually large or malformed camera redirection packets
  • Core dumps containing evidence of out-of-bounds memory access in sws_scale or ecam_encoder_compress_h264 functions

Detection Strategies

  • Monitor for FreeRDP client process crashes, particularly those with memory access violations in the rdpecam channel code paths
  • Implement network intrusion detection rules to identify anomalous RDP camera redirection traffic with suspicious dimension parameters
  • Deploy endpoint detection and response (EDR) solutions capable of monitoring memory access patterns in FreeRDP processes
  • Audit FreeRDP version deployments across the environment to identify systems running vulnerable versions prior to 3.22.0

Monitoring Recommendations

  • Enable verbose logging for FreeRDP client connections to capture detailed error information
  • Configure crash reporting mechanisms to automatically collect and analyze FreeRDP client failures
  • Establish baseline metrics for normal RDP session behavior to help identify anomalous connection patterns
  • Implement network flow analysis to detect connections to unknown or suspicious RDP servers

How to Mitigate CVE-2026-24677

Immediate Actions Required

  • Upgrade FreeRDP to version 3.22.0 or later immediately across all affected systems
  • Temporarily disable camera redirection functionality in FreeRDP client configurations if patching is not immediately possible
  • Review and restrict RDP connections to trusted, known servers to minimize exposure to malicious server attacks
  • Implement network segmentation to limit which systems can establish outbound RDP connections

Patch Information

The vulnerability has been addressed in FreeRDP version 3.22.0. The fix introduces proper dimension tracking in the CameraDeviceStream structure by adding swsWidth and swsHeight fields to validate that the sws scaling context matches the actual buffer dimensions before processing. Organizations should apply this patch by upgrading to the latest FreeRDP release. The security patch is available through the FreeRDP GitHub commit. Additional details are available in the GitHub Security Advisory.

Workarounds

  • Disable the rdpecam (camera redirection) channel by removing it from the enabled channels list in FreeRDP configuration
  • Use firewall rules to restrict outbound RDP connections to pre-approved server addresses only
  • Deploy application-level whitelisting to control which RDP servers users can connect to
  • Consider using alternative RDP client implementations until patching can be completed
bash
# Configuration example - Disable camera redirection in FreeRDP
# Add to FreeRDP client command line or configuration
xfreerdp /v:server.example.com /u:username -rdpecam

# Or explicitly disable the channel
xfreerdp /v:server.example.com /u:username /vc:-rdpecam

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 Log

  • GitHub 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 Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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