---
id: CVE-2026-68579
title: >-
  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)
summary: >-
  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 …
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:H'
cwe:
  - CWE-787
vendor: freerdp
product: freerdp
affected:
  - freerdp < 3.30.0
patched:
  - freerdp 3.30.0
published: '2026-08-02'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T16:17:08.470'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68579'
references:
  - url: >-
      https://github.com/FreeRDP/FreeRDP/commit/5e8e987b469b60a3bafadf8f5afc40f91c09f458
    label: disclosure@vulncheck.com
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m37j-jcr2-8gcc'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/freerdp-before-heap-overflow-via-cliprdrstream-read
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00479
epssPercentile: 0.41144
ingestedAt: '2026-08-02T13:18:30.035Z'
---

## Overview

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.

## Affected

- `freerdp < 3.30.0`

## Remediation

Upgrade past the affected range:

- `freerdp 3.30.0`
