Buffer overflow in Freerdp
CVE-2026-68579
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 41.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions 0, 3.30.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-m37j-jcr2-8gcc) (vendor-advisory, Vendor Advisory)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: FreeRDP before 3.30.0 Heap Overflow via CliprdrStream_Read (Third Party Advisory, third-party-advisory)