FreeRDP
CVE-2026-23534
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious RDP server
-
DeliveryNegotiate ClearCodec in session
-
ExploitSend crafted band coordinates
-
ExecutionOverflow heap surface buffer in clear.c
-
PersistCrash client or corrupt heap
-
ImpactPotential code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim's FreeRDP client (version < 3.21.0) to establish an RDP session to an attacker-controlled or compromised server AND for the ClearCodec codec to be in use, since the overflow occurs specifically in the ClearCodec bands decode path with attacker-supplied band coordinates. The limiting factor is directionality: this is a server-to-client attack, so the attacker cannot reach arbitrary clients unsolicited - they must induce or intercept a client connection (malicious server, MITM, or rogue RDP gateway). Confirmed impact is a client crash/DoS (VA:H); code execution is conditional on allocator behavior and heap layout and is not confirmed. No authentication on the client side is needed (PR:N), and the scored vector lists UI:N, though in practice a user action to initiate the connection to the malicious server is typically involved. |
| Impact | Signals are mixed and point to a moderate, conditional risk rather than an urgent emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores only availability impact (VA:H, VC:N/VI:N/VA... i.e. VI:N), consistent with a confirmed DoS; the description's 'code-execution risk' is explicitly hedged as allocator- and heap-layout-dependent and is NOT reflected in the scored confidentiality/integrity metrics, so RCE should be treated as unproven. E:P (Proof-of-Concept) and the 'publicly available' POC flag confirm exploit code exists, but EPSS of 0.15% and absence from CISA KEV indicate no evidence of widespread or active exploitation. A key nuance the raw vector understates: this is a malicious-SERVER-attacks-CLIENT vulnerability, so real-world exploitation requires the victim to connect to an attacker-controlled or compromised RDP endpoint - a meaningful precondition that PR:N/UI:N does not capture. Net: patch-worthy and POC-backed, but realistic priority is moderate, weighted toward environments where clients connect to untrusted servers. |
| Exploit ScenarioDerived | An attacker stands up or compromises an RDP server and lures a user into connecting (e.g., a phishing link with an .rdp file or a poisoned remote-desktop gateway). Once the FreeRDP client connects and negotiates ClearCodec, the server returns a bitmap update with crafted band coordinates that overflow the client's heap surface buffer, crashing the client and potentially corrupting the heap. Public POC code exists, lowering the barrier to triggering at least the reliable DoS condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 30, 2026
Denial of service (and potential code execution) in FreeRDP RDP clients before 3.21.0 lets a malicious or compromised RDP server overflow a client-side heap buffer during ClearCodec band decoding. By supplying crafted band coordinates that drive writes past the destination surface buffer, the server crashes the connecting client and may corrupt the heap. Publicly available exploit code exists; EPSS is low (0.15%, 35th percentile) and the issue is not in CISA KEV, indicating no confirmed active exploitation.
Earlier versions of this analysis (4)
Client-side heap buffer overflow in FreeRDP before 3.21.0 lets a malicious or compromised RDP server corrupt the connecting client's heap through the ClearCodec bands decode path. By sending crafted band coordinates that drive writes past the end of the destination surface buffer, an attacker controlling the server reliably crashes the client (DoS) and may achieve heap corruption with potential code execution depending on allocator behavior. Publicly available exploit code exists (CVSS 4.0 7.7, EPSS 0.15%); no public evidence of active exploitation at time of analysis.
Denial-of-service and potential client-side code execution affects FreeRDP RDP clients prior to version 3.21.0, where a heap buffer overflow (CWE-122) in the ClearCodec bands decode path lets a malicious or compromised RDP server send crafted band coordinates that write past the end of the destination surface buffer. A publicly available exploit exists, though the issue is not listed in CISA KEV and carries a low EPSS score (0.15%), indicating no evidence of widespread exploitation. Confirmed impact is a client crash with heap corruption that could escalate to code execution depending on allocator behavior.
Denial-of-service with heap-corruption potential in FreeRDP RDP clients prior to 3.21.0 lets a malicious or compromised RDP server send crafted ClearCodec band coordinates that write past the destination surface buffer, crashing the client and potentially corrupting the heap with code-execution risk. The flaw is server-to-client (a hostile server attacking a connecting client), requires no authentication or user interaction per the CVSS 4.0 vector, and publicly available exploit/PoC code exists, though EPSS exploitation probability remains low at 0.15%. It is not listed in CISA KEV, so there is no public-exploit identified... - to be precise: publicly available exploit code exists, but no confirmed active exploitation.
Fifth heap overflow in FreeRDP pre-3.21.0 enables client-side RCE via rogue RDP servers.
RemediationAI
Vendor-released patch: upgrade FreeRDP to version 3.21.0 or later (https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0). On enterprise Linux, apply the corresponding distribution package updates instead of building from source - Red Hat customers via RHSA-2026:2222/2952/2081/2048/2736/3037 and SUSE customers via SUSE-SU-2026:0345/0417/0421/0449/0559 - and restart any long-running RDP client sessions or services that link the FreeRDP library so the patched code is loaded. If immediate patching is not possible, the most effective compensating control is to restrict outbound RDP client connections to known, trusted servers only (the attack requires the client to connect to a malicious server), for example via firewall egress rules or connection allow-lists; the trade-off is reduced flexibility for ad-hoc remote connections. Where feasible, also disable or avoid ClearCodec/codec negotiation on client connections to untrusted hosts, accepting degraded bitmap compression performance. Review GHSA-3frr-mp8w-4599 for codec-specific guidance.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeRDP is the dominant open-source implementation of the Remote Desktop Protocol used by clients such as Remmina, GNOME Connections, Weston, and embedded RDP front-ends, and is redistributed by Red Hat and SUSE (hence the multiple distro errata). The flaw is a CWE-122 heap-based buffer overflow in the ClearCodec decoder (libfreerdp/codec/clear.c, around lines 878-884), a bitmap compression codec negotiated during an RDP session. When decoding the 'bands' portion of a ClearCodec stream, attacker-controlled band coordinates are not validated against the destination surface dimensions, so pixel writes can extend beyond the allocated surface buffer. The CPE cpe:2.3:a:freerdp:freerdp confirms the affected component is the FreeRDP library itself rather than any single downstream product.
Know when Freerdp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Malicious server attacks a connecting client, so UI:R for the user-initiated connection; confirmed impact is a client crash (A:H) with no proven C/I impact.
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
9DescriptionCVE.org
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, a client-side heap buffer overflow occurs in the ClearCodec bands decode path when crafted band coordinates allow writes past the end of the destination surface buffer. A malicious server can trigger a client‑side heap buffer overflow, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.
Executive ViewAI
FreeRDP remote desktop clients before version 3.21.0 can be crashed or exploited by compromised RDP servers, potentially allowing attackers to execute code on client endpoints or disrupt remote connectivity. Publicly available exploit code exists, though no confirmed active exploitation has been observed. Organizations using FreeRDP should prioritize patching to 3.21.0 or later to eliminate this attack vector.
Apply vendor patch: FreeRDP 3.21.0 or later. No interim workarounds identified; patching is the primary remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Affected Products (CPE)CVE.org
Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti
Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor
Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem
FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi
FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai
FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and
FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest | Affected |
| Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Image SL-Micro Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE | Affected |
| Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.43 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.67 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.57 | Affected |
| Container suse/sl-micro/6.1/base-os-container:2.2.1-5.64 Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd | Affected |
| SUSE Liberty Linux 8 | Fixed |
| SUSE Liberty Linux 9 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Server 12 SP5 | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP2 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP3 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP5 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 12 SP2 | Fixed |
| SUSE Linux Enterprise Server 12 SP3 | Fixed |
| SUSE Linux Enterprise Server 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP4 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP2 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP3 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB