Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Server-to-client attack over the network with low complexity but requiring the victim's paste action (UI:R); no prior privileges (PR:N); memory corruption yields full C/I/A impact within the client process (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
FreeRDP Windows client before 3.29.0 contains a heap buffer overflow vulnerability in the clipboard virtual channel when processing CLIPRDR_FILE_CONTENTS_RESPONSE PDUs without validating the server-provided size against the destination buffer. A malicious RDP server can send a response with a data payload significantly larger than requested, causing arbitrary heap memory corruption that may enable remote code execution when a user performs a paste operation.
AnalysisAI
Heap-based remote code execution in the FreeRDP Windows client (all versions before 3.29.0) is triggered when a user pastes clipboard content sourced from a malicious RDP server. The client fails to validate the server-supplied data size in CLIPRDR_FILE_CONTENTS_RESPONSE PDUs against the destination buffer, allowing an oversized payload to corrupt heap memory. A publicly available vendor advisory (GHSA-cj9v-h4hq-29jr, reported by VulnCheck) documents the flaw; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
Technical ContextAI
The vulnerability lives in the CLIPRDR (Clipboard Virtual Channel Extension) subsystem of RDP, which synchronizes clipboard state between an RDP client and server. When a user requests file-content data from the remote clipboard (e.g., during a paste of a copied file), the server replies with a CLIPRDR_FILE_CONTENTS_RESPONSE PDU carrying the requested bytes. FreeRDP's Windows client copies this server-controlled payload into a fixed/pre-sized heap buffer without checking that the returned length matches or fits the amount originally requested. This is a classic CWE-122 heap-based buffer overflow: attacker-controlled length + missing bounds check + memcpy-style copy into an undersized allocation, corrupting adjacent heap metadata and chunks. The affected component is the FreeRDP library (cpe:2.3:a:freerdp:freerdp), specifically the Windows client build path, and the trust boundary is inverted from the usual RDP model - here the SERVER attacks the CLIENT.
RemediationAI
Vendor-released patch: upgrade to FreeRDP 3.29.0 or later, which adds validation of the server-provided size against the destination buffer for CLIPRDR_FILE_CONTENTS_RESPONSE handling. Downstream products that bundle FreeRDP must rebuild against the patched library. Where immediate patching is not possible, the primary compensating control is to disable clipboard redirection / the cliprdr virtual channel in client configuration (trade-off: users lose copy-paste of files and text between local and remote sessions); additionally restrict outbound RDP connections to trusted, known-good servers only and block users from opening untrusted .rdp files or connecting through unvetted RDP gateways (trade-off: reduced flexibility for ad-hoc remote connections). Apply the fix per the vendor advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-cj9v-h4hq-29jr.
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
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-51862
GHSA-3w26-2cxg-pvh3