Skip to main content

FreeRDP CVE-2026-23534

HIGH
Heap-based Buffer Overflow (CWE-122)
2026-01-19 security-advisories@github.com
7.7
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure client to malicious RDP server
  2. Delivery
    Negotiate ClearCodec in session
  3. Exploit
    Send crafted band coordinates
  4. Execution
    Overflow heap surface buffer in clear.c
  5. Persist
    Crash client or corrupt heap
  6. Impact
    Potential 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – 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)
v4 Jun 30, 2026 - 06:03 cvss changed CVSS 7.7

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.

v3 Jun 30, 2026 - 06:03 cvss changed CVSS 7.7

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.

v2 Jun 30, 2026 - 06:03 cvss changed CVSS 7.7

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.

v1 Mar 12, 2026 - 21:54 CVSS 9.8

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

Vendor (github) PRIMARY 7.7 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.6 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

9
Analysis Updated
Jun 30, 2026 - 06:03 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:03 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:03 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:03 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:23 NVD
CRITICAL HIGH
CVSS changed
Jun 30, 2026 - 03:23 NVD
9.8 (CRITICAL) 7.7 (HIGH)
Patch released
Apr 09, 2026 - 20:30 nvd
Patch available
PoC Detected
Jan 28, 2026 - 18:44 vuln.today
Public exploit code
CVE Published
Jan 19, 2026 - 18:16 nvd
CRITICAL 9.8

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch: FreeRDP 3.21.0 or later. No interim workarounds identified; patching is the primary remediation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 65% exploitable
Prevalence
High
de facto open-source RDP client, bundled by major Linux distributions
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
CVE-2026-25997 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth

CVE-2026-25953 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti

CVE-2026-25952 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor

CVE-2026-25959 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem

CVE-2026-22857 CRITICAL POC
9.8 Jan 14

FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi

CVE-2026-22854 CRITICAL POC
9.8 Jan 14

FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai

CVE-2026-22852 CRITICAL POC
9.8 Jan 14

FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m

CVE-2026-25955 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and

CVE-2024-32041 CRITICAL POC
9.8 Apr 22

FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2023-40574 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40569 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40567 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy