CVE-2026-68579

FreeRDP before 3.30.0 Heap Overflow via CliprdrStream_Read

Published Aug 2, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

FreeRDP versions before 3.30.0 contain a heap-based buffer overflow in the CliprdrStream_Read function used by the Windows clipboard client. When an OLE paste consumer requests to read data that the RDP server sends, the function copies the data into the consumer's buffer using the server‑supplied file size instead of the buffer length provided by the consumer. A remote RDP server can supply an oversized response, causing an out‑of‑bounds write of attacker‑controlled data into the consumer’s heap. This flaw can potentially allow arbitrary code execution on the client machine.

Affected Systems

The vulnerability affects the FreeRDP client software, specifically all releases up to and including 3.29.0. This includes every operating system where FreeRDP is used as an RDP client. No other vendors or products are listed as affected.

Risk and Exploitability

The flaw is rated 8.7 on the CVSS base score, indicating high severity. No EPSS score is available and the flaw is not listed in CISA’s Known Exploited Vulnerabilities catalog. An attacker would need control of an RDP server that the victim connects to and the victim must trigger a paste action to exploit the overflow. Because the error occurs in the client, only the machine running the FreeRDP client is affected. Nonetheless, the attacker can force the client to receive malicious clipboard payloads, and subsequent paste can lead to memory corruption and potentially remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.30.0 or later, which contains the fixed CliprdrStream_Read implementation.
  • If an upgrade cannot be performed immediately, disable clipboard redirection on the client or server to prevent the vulnerable clipboard stream from being used.
  • Restrict remote desktop connections to trusted hosts and consider monitoring or filtering clipboard traffic for suspicious activity.

Generated by OpenCVE AI on August 3, 2026 at 09:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title FreeRDP before 3.30.0 Heap Overflow via CliprdrStream_Read
First Time appeared Freerdp
Freerdp freerdp
Weaknesses CWE-787
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Vendors & Products Freerdp
Freerdp freerdp
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 3, 2026, 3:37 PM
Reserved
Jul 31, 2026, 11:56 AM
Status
Analyzed
Published
Aug 2, 2026, 1:16 PM
Modified
Sep 29, 2026, 4:17 PM
Severity
Critical
Public date
Aug 2, 2026, 12:15 PM