Skip to main content

FreeRDP CVE-2026-68579

| EUVDEUVD-2026-51989 HIGH
Out-of-bounds Write (CWE-787)
2026-08-02 VulnCheck GHSA-m4j8-6wj9-56fg
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Operate or compromise RDP server
  2. Delivery
    Connect Windows FreeRDP client to malicious server
  3. Exploit
    Server advertises crafted file in clipboard
  4. Install
    User pastes server clipboard content in Windows app
  5. C2
    OLE consumer calls IStream::Read with fixed cb-byte heap buffer
  6. Execute
    FreeRDP sends CB_FILECONTENTS_REQUEST to server
  7. Impact
    Server returns oversized CB_FILECONTENTS_RESPONSE with req_fsize > cb
  8. Step 8
    CliprdrStream_Read writes req_fsize bytes into cb-byte buffer
  9. Step 9
    Heap 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeRDP 0 <3.30.0

Affected Packages

euvd freerdp fix: 3.30.0

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 9.6 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 9.6 CRITICAL

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
open-source RDP client; Windows-build subset limits footprint
Social Media
4
Sightings
Data Quality
8 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-25997 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth

CVE-2026-25953 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti

CVE-2026-25952 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor

CVE-2026-25959 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem

CVE-2026-22857 CRITICAL POC
9.8 Jan 14

FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi

CVE-2026-22854 CRITICAL POC
9.8 Jan 14

FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai

CVE-2026-22852 CRITICAL POC
9.8 Jan 14

FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m

CVE-2026-25955 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and

CVE-2024-32041 CRITICAL POC
9.8 Apr 22

FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2023-40574 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40569 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40567 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy