Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconOperate or compromise RDP server
-
DeliveryConnect Windows FreeRDP client to malicious server
-
ExploitServer advertises crafted file in clipboard
-
InstallUser pastes server clipboard content in Windows app
-
C2OLE consumer calls IStream::Read with fixed cb-byte heap buffer
-
ExecuteFreeRDP sends CB_FILECONTENTS_REQUEST to server
-
ImpactServer returns oversized CB_FILECONTENTS_RESPONSE with req_fsize > cb
-
Step 8CliprdrStream_Read writes req_fsize bytes into cb-byte buffer
-
Step 9Heap corruption or code execution in paste consumer process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concurrent conditions must hold: (1) The victim must be running the Windows build of FreeRDP (versions ≤ 3.29.0) - this vulnerability does not exist in Linux or macOS FreeRDP builds because the vulnerable file client/Windows/wf_cliprdr.c is Windows-only and absent from other platform builds; native Windows RDP client mstsc.exe is also unaffected. (2) Clipboard redirection must be active in the FreeRDP session, which is a user-elected but common configuration enabled via the +clipboard flag - sessions without clipboard redirection never invoke the vulnerable code path. (3) The user must actively perform a paste action on content offered by the remote server's clipboard, causing an OLE consumer application to call IStream::Read on FreeRDP's clipboard stream - passive connection to the server is insufficient. The attacker must control or have compromised the RDP server the victim connects to; exploitation cannot be initiated from a passive network position. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) scores 8.7 but contains a critical discrepancy: UI:N (no user interaction) conflicts with the CVE description, which explicitly requires a user to initiate a paste operation. A corrected UI:A (active interaction) better reflects reality and would reduce the effective score. Additionally, the VC:N/VI:N assessment appears overly conservative - the OOB write uses fully attacker-controlled data, which represents a well-established path to code execution beyond simple denial of service; a higher C/I impact is defensible. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, meaning no confirmed active exploitation. Real-world risk is materially constrained by two factors: exploitation requires connecting to an adversary-controlled server (not a passive web-style exposure), and the user must perform an explicit paste. Organizations whose users exclusively connect FreeRDP to internal, trusted RDP infrastructure face significantly lower risk than those permitting connections to external or third-party RDP endpoints. The attacker-controlled write content elevates this above a simple crash, and the paste consumer (e.g., explorer.exe) runs with the user's full privilege context, making post-exploitation impact potentially significant. |
| Exploit ScenarioDerived | An attacker deploys a rogue RDP server (or compromises a legitimate one) and waits for a victim running Windows FreeRDP ≤ 3.29.0 to connect. The server populates its clipboard with a crafted file reference; when the user performs a paste in any Windows application that invokes OLE IStream::Read, FreeRDP issues a CB_FILECONTENTS_REQUEST and the server responds with a CB_FILECONTENTS_RESPONSE whose payload length exceeds the OLE consumer's heap buffer. CliprdrStream_Read copies req_fsize bytes into the cb-byte buffer, overwriting adjacent heap structures with attacker-controlled content, resulting in crash or potential code execution in the paste consumer's process. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 02, 2026
Heap-based buffer overflow in FreeRDP's Windows clipboard client (versions ≤ 3.29.0) allows a malicious or compromised RDP server to write attacker-controlled data beyond the bounds of a paste consumer's heap allocation. The flaw in CliprdrStream_Read trusts the server-supplied response length (req_fsize) rather than the caller-supplied buffer bound (cb), so any OLE paste consumer such as explorer.exe that calls IStream::Read against server-offered clipboard file contents can have its heap corrupted. No active exploitation has been confirmed (not in CISA KEV), no public exploit code has been identified, and a fix is available in FreeRDP 3.30.0.
RemediationAI
Upgrade to FreeRDP 3.30.0 or later, which contains the upstream fix committed at https://github.com/FreeRDP/FreeRDP/commit/5e8e987b469b60a3bafadf8f5afc40f91c09f458 and disclosed via the security advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m37j-jcr2-8gcc. If immediate patching is not feasible, disabling clipboard redirection eliminates the vulnerable code path entirely - remove the +clipboard flag from FreeRDP invocations or set RedirectClipboard=false in client configuration; the trade-off is complete loss of clipboard sharing between client and server for the duration. As an additional policy control, restrict FreeRDP users from connecting to untrusted or external RDP servers, since exploitation requires an adversary-controlled server endpoint. Do not rely on network-layer blocking alone, as the vulnerability triggers during an authenticated RDP session over the CLIPRDR virtual channel.
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 (CPE: cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*) is a widely-used open-source implementation of Microsoft's Remote Desktop Protocol. The affected code is in the Windows-specific clipboard redirection client at client/Windows/wf_cliprdr.c, which implements the CLIPRDR virtual channel for bidirectional clipboard sharing. When a Windows OLE paste consumer invokes IStream::Read with a fixed-size buffer of cb bytes, the CliprdrStream_Read function issues a CB_FILECONTENTS_REQUEST to the remote RDP server, then copies the server's CB_FILECONTENTS_RESPONSE payload into the caller's buffer using the server-supplied req_fsize rather than the caller-controlled cb bound. This is a classic CWE-787 Out-of-Bounds Write: the server, acting as an untrusted source, dictates the copy length into a fixed heap allocation it did not create, enabling arbitrary heap corruption with fully attacker-controlled bytes in the paste consumer's process. The flaw is confined to the Windows build and does not exist in Linux or macOS FreeRDP builds.
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
Network-delivered via RDP, low complexity, no attacker privileges needed, but user must paste to trigger; scope changes to paste consumer process; fully controlled OOB write enables RCE beyond crash.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FreeRDP before 3.30.0 (<= 3.29.0) contains a heap-based buffer overflow in the Windows clipboard client's CliprdrStream_Read function (client/Windows/wf_cliprdr.c). When an OLE paste consumer (e.g. explorer.exe) calls IStream::Read with a fixed-size buffer of cb bytes, CliprdrStream_Read requests file contents from the RDP server and then copies the response into the caller's buffer using the server-supplied length (req_fsize) instead of cb. A malicious or compromised RDP server can return an oversized CB_FILECONTENTS_RESPONSE, causing an out-of-bounds write of attacker-controlled data into the paste consumer's heap buffer when a user pastes server-offered clipboard file contents.
Executive ViewAI
FreeRDP (versions through 3.29.0) contains a heap corruption vulnerability exploitable by compromised RDP servers, potentially allowing attackers to crash or compromise any connected user workstations. Organizations using FreeRDP for remote access must patch immediately to prevent workstation compromise and potential data access through affected client systems.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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
EUVD-2026-51989
GHSA-m4j8-6wj9-56fg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB