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-2024-22211

CVE-2024-22211: FreeRDP Buffer Overflow Vulnerability

CVE-2024-22211 is a buffer overflow vulnerability in FreeRDP that allows malicious servers to trigger heap-buffer overflow in clients. This article covers the technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-22211 Overview

CVE-2024-22211 is an integer overflow vulnerability in FreeRDP, the widely-used open source remote desktop protocol library and client suite. The vulnerability exists in the freerdp_bitmap_planar_context_reset function, where an integer overflow condition leads to a heap-buffer overflow. This affects FreeRDP-based clients, while server implementations and proxies remain unaffected.

Critical Impact

A malicious RDP server can exploit this vulnerability by sending a crafted RDPGFX_RESET_GRAPHICS_PDU packet to allocate undersized buffers, potentially triggering out-of-bounds read/write operations on connected clients.

Affected Products

  • FreeRDP versions prior to 2.11.5
  • FreeRDP versions 3.x prior to 3.2.0
  • All FreeRDP-based client implementations using vulnerable library versions

Discovery Timeline

  • January 19, 2024 - CVE-2024-22211 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-22211

Vulnerability Analysis

This vulnerability combines two weakness types: CWE-190 (Integer Overflow) and CWE-122 (Heap-based Buffer Overflow). The flaw resides in the planar codec component of FreeRDP's graphics processing subsystem, specifically within libfreerdp/codec/planar.c.

The vulnerable code performs arithmetic operations on width and height values without proper overflow validation. When calculating maxPlaneSize by multiplying maxWidth and maxHeight, the result can wrap around due to integer overflow, resulting in a much smaller value than intended. This causes undersized buffer allocations that subsequent operations will overflow.

While data extraction over the network is not possible since the affected buffers are used exclusively for image display, the heap corruption could lead to code execution or denial of service conditions on the client system.

Root Cause

The root cause is insufficient validation of multiplication operations in the planar context reset function. When maxWidth * maxHeight exceeds the maximum value representable by a 32-bit unsigned integer (UINT32_MAX), the result wraps around to a small value. This small value is then used to allocate heap buffers that are far too small for the actual image data that will be written to them.

Additionally, the calculation of nTempStep (computed as maxWidth * 4) lacks overflow checking, creating another potential overflow vector when processing large width values.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. A malicious server can craft a RDPGFX_RESET_GRAPHICS_PDU packet with specially chosen width and height values that trigger the integer overflow. When a vulnerable FreeRDP client connects to this malicious server and processes the graphics reset command, the undersized buffers are allocated and subsequently overflowed during image rendering operations.

c
// Security patch in libfreerdp/codec/planar.c
// Source: https://github.com/FreeRDP/FreeRDP/commit/939e922936e9c3ae8fc204968645e5e7563a2fff

 	context->bgr = FALSE;
 	context->maxWidth = PLANAR_ALIGN(width, 4);
 	context->maxHeight = PLANAR_ALIGN(height, 4);
-	context->maxPlaneSize = context->maxWidth * context->maxHeight;
+	const UINT64 tmp = (UINT64)context->maxWidth * context->maxHeight;
+	if (tmp > UINT32_MAX)
+		return FALSE;
+	context->maxPlaneSize = tmp;
+
+	if (context->maxWidth > UINT32_MAX / 4)
+		return FALSE;
 	context->nTempStep = context->maxWidth * 4;

 	memset(context->planes, 0, sizeof(context->planes));

Detection Methods for CVE-2024-22211

Indicators of Compromise

  • Unexpected crashes or abnormal terminations of FreeRDP client processes
  • Memory corruption errors in FreeRDP client logs
  • RDP connections to untrusted or unknown server endpoints
  • Anomalous RDPGFX_RESET_GRAPHICS_PDU packets with unusually large dimension values

Detection Strategies

  • Monitor for FreeRDP client process crashes with heap corruption signatures
  • Implement network-level inspection for RDP Graphics Pipeline Extension (RDPGFX) traffic with abnormal parameters
  • Use memory-safe runtime protections (ASLR, stack canaries) to detect exploitation attempts
  • Deploy endpoint detection solutions to identify suspicious RDP client behavior patterns

Monitoring Recommendations

  • Enable crash dump collection for FreeRDP client processes to capture exploitation evidence
  • Implement logging of RDP connection destinations to identify connections to potentially malicious servers
  • Monitor system memory usage anomalies during RDP sessions
  • Track FreeRDP library versions across endpoints to identify vulnerable installations

How to Mitigate CVE-2024-22211

Immediate Actions Required

  • Upgrade FreeRDP to version 2.11.5 or later (for 2.x branch)
  • Upgrade FreeRDP to version 3.2.0 or later (for 3.x branch)
  • Restrict RDP client connections to trusted servers only
  • Consider temporarily disabling FreeRDP-based clients until patching is complete

Patch Information

The FreeRDP project has released security patches addressing this vulnerability. The fix involves casting multiplication operands to 64-bit integers before performing the calculation, then validating that the result fits within 32-bit bounds before use.

For more information, see the GitHub Security Advisory and the associated commits: FreeRDP Commit Update and FreeRDP Commit Fix.

Distribution-specific updates are available via Fedora Package Announcements and Debian LTS Advisory.

Workarounds

  • No official workarounds are available for this vulnerability
  • Implement network segmentation to limit RDP client exposure to untrusted networks
  • Use application allowlisting to control which endpoints can run FreeRDP clients
  • Consider using alternative RDP clients until FreeRDP can be updated
bash
# Verify FreeRDP version to confirm patched status
xfreerdp --version

# For systems using package managers, check installed version
# Debian/Ubuntu
dpkg -l | grep freerdp

# Fedora/RHEL
rpm -qa | grep freerdp

# Ensure version is 2.11.5+ or 3.2.0+ to be protected

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechFreerdp

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.87%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • CWE-190
  • Technical References
  • Fedora Package Announcement

  • Fedora Package Announcement

  • Debian LTS Announcement
  • Vendor Resources
  • FreeRDP Commit Update

  • FreeRDP Commit Fix

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33982: FreeRDP Buffer Overflow Vulnerability

  • CVE-2026-33984: FreeRDP Buffer Overflow Vulnerability

  • CVE-2026-33986: FreeRDP Buffer Overflow Vulnerability

  • CVE-2026-33987: FreeRDP Buffer Overflow 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