
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-67305 is a heap-based buffer overflow vulnerability in the FreeRDP Windows client (wfreerdp) affecting the clipboard virtual channel when processing CLIPRDR_FILE_CONTENTS_RESPONSE PDUs. The flaw exists because the server-provided size value (cbRequested) is used directly as the length parameter for CopyMemory() without any bounds checking against the destination buffer, allowing a malicious RDP server to trigger arbitrary heap memory corruption. All FreeRDP versions up to and including 3.28.0 are affected; version 3.29.0 contains the fix. It carries a CVSS v4.0 base score of 9.4 (Critical) (GitHub Advisory, FreeRDP Advisory). The vulnerability was published on August 1, 2026.
The root cause is classified as CWE-122 (Heap-based Buffer Overflow). The vulnerable code path spans three functions: CliprdrStream_Read() (wf_cliprdr.c:249), wf_cliprdr_server_file_contents_response() (wf_cliprdr.c:2449), and cliprdr_read_file_contents_response() (cliprdr_common.c:384). When the client requests cb bytes of file content, the malicious server responds with a CLIPRDR_FILE_CONTENTS_RESPONSE PDU where dataLen is far larger than cb; the parser computes cbRequested = dataLen - 4 with no upper-bound validation, assigns this server-controlled value to clipboard->req_fsize, and then CliprdrStream_Read() executes CopyMemory(pv, req_fdata, req_fsize) — writing up to 65,536+ bytes into a buffer allocated for only cb bytes (e.g., 16,384 bytes), resulting in a ~49,152-byte out-of-bounds heap write. Exploitation requires clipboard redirection to be enabled (the default) and the victim to perform a paste operation (Ctrl+V) in Windows Explorer after connecting to the malicious server (FreeRDP Advisory).
Successful exploitation enables arbitrary heap memory corruption in the FreeRDP client process, overwriting heap metadata and adjacent heap objects. Under favorable heap layout conditions, an attacker can achieve control-flow hijacking and Remote Code Execution (RCE) with the privileges of the FreeRDP client process. The CVSS v4.0 scoring reflects high confidentiality, integrity, and availability impact on both the vulnerable and subsequent systems, meaning a compromised client could serve as a pivot point for further lateral movement within the victim's network (GitHub Advisory, FreeRDP Advisory).
evil_rdp_server.py PoC script (documented in the FreeRDP advisory) on an attacker-controlled host, configuring the --overflow-size parameter (e.g., 65536) to control the overflow magnitude.wfreerdp) to the attacker's server (e.g., via a phishing link, DNS poisoning, or a rogue network).CB_MONITOR_READY and a FORMAT_LIST PDU advertising CF_HDROP (file drop format), prompting the client to request file content.FILECONTENTS_RANGE request for cb bytes. The malicious server responds with a CLIPRDR_FILE_CONTENTS_RESPONSE PDU where dataLen = OVERFLOW_SIZE + 4 (e.g., 65540), causing cbRequested = 65536 to be assigned to clipboard->req_fsize.CliprdrStream_Read() executes CopyMemory(pv, req_fdata, req_fsize), writing 65,536 bytes into a ~16,384-byte buffer, corrupting adjacent heap objects including IStreamVtbl function pointers.Release, Read, Stat) on the corrupted adjacent IStream object redirect execution to attacker-controlled addresses, achieving RCE with the privileges of the wfreerdp process (FreeRDP Advisory).wfreerdp.exe (e.g., cmd.exe, powershell.exe, curl.exe); wfreerdp.exe crashing with access violations or heap corruption errors (SIGSEGV / STATUS_HEAP_CORRUPTION) during or after clipboard paste operations.wfreerdp.exe application crashes (Event ID 1000/1001) with fault module related to heap operations; Windows Error Reporting (WER) crash dumps for wfreerdp.exe generated during clipboard activity..dmp) in %LOCALAPPDATA%\CrashDumps\ or %TEMP% associated with wfreerdp.exe; new or modified files in user-writable directories created by wfreerdp.exe or its child processes shortly after an RDP session.Update the FreeRDP Windows client to version 3.29.0 or later, which contains the fix for this vulnerability (FreeRDP Advisory). Note that the FreeRDP project also states that wfreerdp is unmaintained and should not be used; users are advised to migrate to a supported client. As an interim workaround, disable clipboard redirection in RDP client settings (/clipboard flag) if clipboard functionality is not required, or restrict RDP connections exclusively to trusted, known-good servers. Avoid connecting to untrusted or unknown RDP servers until the patch is applied.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."