Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStage malicious RDP server
-
DeliveryLure victim via phishing or .rdp file
-
ExploitVictim's FreeRDP client connects
-
ExecutionSend crafted bitmap cache update
-
PersistTrigger heap OOB write in gdi_CacheToSurface
-
ImpactAchieve code execution or crash client
Vulnerability Assessment
| Weakness |
CWE
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 | Victim must initiate an RDP session from a vulnerable FreeRDP client (any version below 3.26.0) to an attacker-controlled or attacker-compromised RDP server - this is reflected in the CVSS UI:P (Passive user interaction). No authentication to the malicious server is required since the vulnerability triggers during the RDP drawing/cache update phase before any meaningful trust boundary. The attack chain is limited by the need for the victim to reach the malicious server: this is NOT a server-side flaw exploitable by scanning the internet for exposed FreeRDP listeners, and it does not trigger from merely receiving an unsolicited RDP connection. Practical exploitation typically requires phishing the user with a crafted .rdp file, controlling DNS/network paths to redirect a legitimate RDP connection, or compromising a trusted RDP gateway. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H rates this 8.7 (High) with network attack vector, low complexity, no privileges, but Passive user interaction required - meaning the victim must initiate or accept an RDP session to a malicious server. SSVC reports Exploitation: PoC, Automatable: No, Technical Impact: Total, indicating proof-of-concept code exists but the attack does not lend itself to mass automated exploitation since it requires luring victims to attacker-controlled RDP endpoints. EPSS sits at 0.06% (18th percentile) and the CVE is not on CISA KEV, consistent with a client-side vulnerability requiring social engineering rather than internet-scannable server exposure. The signals align rather than conflict: high technical impact (RCE on the client) but realistic exploitation depends on tricking users - prioritize patching but treat as targeted-attack risk, not a wormable internet-facing flaw. |
| Exploit ScenarioDerived | An attacker stands up a malicious RDP server and lures a victim into connecting - for example by sending a crafted .rdp file via phishing, hosting a fake remote-support portal, or hijacking a legitimate RDP redirect. Once the victim's FreeRDP client connects, the server sends a malformed bitmap cache update whose cache entry dimensions exceed the destination surface, triggering the heap out-of-bounds write in gdi_CacheToSurface and corrupting heap memory to crash the client or, with PoC-grade exploitation, execute arbitrary code in the user's context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Heap buffer overflow in FreeRDP versions prior to 3.26.0 allows a malicious RDP server to write out-of-bounds heap memory on connecting clients through the gdi_CacheToSurface function, potentially leading to remote code execution or client crash. The flaw stems from inconsistent rectangle validation where coordinates are clamped to UINT16_MAX but copy operations use unclamped cache entry dimensions. Publicly available exploit code exists per SSVC, though EPSS exploitation probability remains low at 0.06%.
RemediationAI
Vendor-released patch: FreeRDP 3.26.0 - upgrade all FreeRDP client installations and any embedding applications (Remmina, GNOME Connections, xfreerdp/wlfreerdp builds) to this version or later, with the fix tracked in commit 23b36cd00ebf0ccd97750fcdbc9aa2f362352da7 and the advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ff. SUSE and other Linux distributors will ship backported package updates; apply distribution updates as they become available rather than waiting for a major version bump. Where immediate patching is not possible, restrict outbound RDP (TCP/3389 and UDP/3389) at egress firewalls so endpoints cannot connect to arbitrary external RDP servers, accepting the trade-off that legitimate remote-to-external-host RDP use cases will be blocked, and instruct users not to initiate RDP sessions to untrusted hosts or click .rdp files from untrusted sources since the attack requires the client to connect to a malicious server.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeRDP is a widely deployed open-source implementation of the Microsoft Remote Desktop Protocol (RDP), used by Linux remote desktop clients, virtualization tools, and downstream distributions including SUSE. The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow) and lives in the GDI (Graphics Device Interface) caching path - specifically gdi_CacheToSurface, which copies bitmap cache entries into surface bitmaps during RDP screen drawing. The validation logic clamps source rectangle coordinates to UINT16_MAX to look safe, but the subsequent memcpy/blit uses the cache entry's own width and height fields, which remain attacker-controlled. A hostile RDP server can craft cache update messages whose declared dimensions overshoot the destination surface bounds, producing large heap out-of-bounds writes on the client side.
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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
FreeRDP before 3.26.0 contains a heap-buffer-overflow vulnerability in gdi_CacheToSurface that allows remote attackers to write out-of-bounds heap memory. The vulnerability occurs because rectangle validation clamps coordinates to UINT16_MAX but performs copy operations using unclamped cache entry dimensions, enabling malicious RDP servers to trigger large out-of-bounds writes and potentially achieve remote code execution or client crash.
Executive ViewAI
FreeRDP, the widely-used remote desktop protocol client, contains a vulnerability (CVE-2026-40033) affecting versions before 3.26.0 that allows a malicious RDP server to execute code on connecting clients with publicly available exploit code. Organizations using FreeRDP for remote access face potential client machine compromise and lateral movement risk, making immediate patching critical to prevent unauthorized access and system control.
Apply vendor patch.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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 allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| 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 16.0 | 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 LTSS Extended Security 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | 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 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 |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-31830
GHSA-xmr8-h8p4-932m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB