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

CVE-2024-32658: FreeRDP Buffer Overflow Vulnerability

CVE-2024-32658 is a buffer overflow flaw in FreeRDP clients that enables out-of-bounds read attacks. This article covers the technical details, affected versions prior to 3.5.1, security impact, and available patches.

Published: April 15, 2026

CVE-2024-32658 Overview

CVE-2024-32658 is an out-of-bounds read vulnerability affecting FreeRDP, a free implementation of the Remote Desktop Protocol (RDP). FreeRDP-based clients prior to version 3.5.1 are vulnerable to this memory safety issue, which could allow attackers to read data beyond allocated buffer boundaries. The vulnerability was identified through OSS-Fuzz testing and has been patched in version 3.5.1.

Critical Impact

This out-of-bounds read vulnerability in FreeRDP clients can be exploited remotely over the network without authentication, potentially leading to information disclosure, memory corruption, or denial of service conditions affecting RDP client systems.

Affected Products

  • FreeRDP versions prior to 3.5.1
  • Fedora 38, 39, and 40 (packages containing vulnerable FreeRDP versions)
  • Debian LTS distributions with affected FreeRDP packages

Discovery Timeline

  • April 23, 2024 - CVE-2024-32658 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-32658

Vulnerability Analysis

The vulnerability exists in FreeRDP's interleaved codec processing, specifically in the libfreerdp/codec/interleaved.c file. The issue involves an incorrect offset calculation in the buffer_within_range bounds checking function. When processing RDP bitmap data, the code failed to properly validate buffer boundaries, allowing read operations to access memory beyond the allocated buffer.

The root cause is a boundary condition error in run-length decoding logic. When the runLength value extracted from pbOrderHdr equals zero, the code needs to read an additional byte to determine the actual run length. The original implementation only checked for 1 byte of available buffer space, but the operation actually requires 2 bytes to safely complete the read.

Root Cause

The vulnerability stems from CWE-125 (Out-of-Bounds Read). The interleaved codec's decompression routine incorrectly validated buffer boundaries when processing RDP graphics data. The off-by-one error in the bounds check allowed the code to read one byte beyond the valid buffer range, potentially accessing uninitialized or adjacent memory regions.

Attack Vector

This vulnerability can be exploited remotely over a network connection. An attacker could craft malicious RDP server responses containing specially crafted bitmap data that triggers the out-of-bounds read condition. When a vulnerable FreeRDP client connects to a malicious or compromised RDP server, the server can send manipulated graphics data that exploits this boundary check error.

The attack requires no authentication and no user interaction beyond initiating an RDP connection. This makes it particularly dangerous in scenarios where users connect to untrusted RDP servers or where an attacker can perform man-in-the-middle attacks on RDP connections.

c
 	runLength = (*pbOrderHdr) & g_MaskRegularRunLength;
 	if (runLength == 0)
 	{
-		if (!buffer_within_range(pbOrderHdr, 1, pbEnd))
+		if (!buffer_within_range(pbOrderHdr, 2, pbEnd))
 		{
 			*advance = 0;
 			return 0;

Source: FreeRDP Security Patch

Detection Methods for CVE-2024-32658

Indicators of Compromise

  • Abnormal RDP client crashes or unexpected termination during graphics rendering
  • Memory access violations or segmentation faults in FreeRDP client processes
  • Unusual network traffic patterns from RDP servers containing malformed bitmap data
  • Core dumps or crash logs referencing libfreerdp/codec/interleaved.c or interleaved codec functions

Detection Strategies

  • Monitor FreeRDP client processes for abnormal memory access patterns or crash conditions
  • Implement network intrusion detection rules to identify malformed RDP graphics responses
  • Deploy endpoint detection solutions to monitor for exploitation attempts against RDP clients
  • Enable application crash monitoring and analysis for FreeRDP-based applications

Monitoring Recommendations

  • Enable verbose logging on FreeRDP clients to capture connection anomalies
  • Monitor system logs for segmentation faults or memory violations in RDP client processes
  • Track outbound RDP connections to unknown or suspicious server addresses
  • Implement network-level monitoring for RDP protocol anomalies

How to Mitigate CVE-2024-32658

Immediate Actions Required

  • Upgrade FreeRDP to version 3.5.1 or later immediately
  • Review and restrict RDP client connections to trusted servers only
  • Apply vendor-provided security updates for Fedora 38, 39, and 40 systems
  • Update Debian LTS systems with the latest FreeRDP security patches

Patch Information

The vulnerability has been addressed in FreeRDP version 3.5.1. The fix corrects the boundary check in libfreerdp/codec/interleaved.c by changing the buffer range validation from 1 byte to 2 bytes, ensuring sufficient buffer space is available before reading the extended run length value.

Patches are available through:

  • FreeRDP GitHub Security Advisory
  • FreeRDP Commit 1a755d8
  • Fedora package updates via official repositories
  • Debian LTS security updates

Workarounds

  • No official workarounds are available for this vulnerability
  • Limit RDP client usage to connections with known, trusted servers
  • Consider network segmentation to reduce exposure of RDP client systems
  • Implement strict firewall rules to control RDP client outbound connections
bash
# Verify FreeRDP version and update
freerdp --version
# Update on Fedora
sudo dnf update freerdp
# Update on Debian/Ubuntu
sudo apt update && sudo apt upgrade freerdp2-x11 libfreerdp2-2

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 Probability1.73%

  • 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-125
  • Technical References
  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • OSS-Fuzz Test Case #4852534033317888

  • OSS-Fuzz Test Case #6196819496337408

  • Debian LTS Security Announcement
  • Vendor Resources
  • GitHub Commit Update

  • 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