FreeRDP before 3.30.0 Heap Overflow via CliprdrStream_Read
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-68579, CVE-2026-76840
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:59 UTC · Revision 1
Source evidence
FreeRDP before 3.30.0 Heap Overflow via CliprdrStream_Read
core-osv · Original sourcePublished 2 Aug 2026, 12:15 UTC
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.
osv:CVE-2026-68579
Complete source record
{
"id": "caaafbae4a7375b3ca84dc75cac11b781812cb1df49a9df427f911b628c2a357",
"url": "https://osv.dev/vulnerability/CVE-2026-68579",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FreeRDP before 3.30.0 Heap Overflow via CliprdrStream_Read",
"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 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.",
"evidence": "osv:CVE-2026-68579",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-68579",
"aliases": [
"CVE-2026-68579",
"CVE-2026-76840",
"GHSA-m37j-jcr2-8gcc"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/freerdp/freerdp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6b107f0aadbabc47941c5a5b893b88c01792af6d"
},
{
"fixed": "5e8e987b469b60a3bafadf8f5afc40f91c09f458"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.30.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5e8e987b469b60a3bafadf8f5afc40f91c09f458"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.5.1",
"3.5.0",
"3.4.0",
"3.3.0",
"3.2.0",
"3.1.0",
"3.0.0",
"3.0.0-rc0",
"3.0.0-beta4",
"3.0.0-beta3",
"3.0.0-beta2",
"3.0.0-beta1",
"2.0.0",
"2.0.0-rc4",
"2.0.0-rc3",
"2.0.0-rc2",
"2.0.0-rc1",
"2.0.0-rc0",
"2.0.0-beta1+android11",
"2.0.0-beta1+android10",
"1.2.0-beta1+android9",
"1.2.0-beta1+android7",
"1.1.0-beta+2013071101",
"1.1.0-beta1+ios4",
"1.1.0-beta1+android5",
"1.1.0-beta1+android4",
"1.1.0-beta1+ios3",
"1.1.0-beta1+ios2",
"1.1.0-beta1+android3",
"1.1.0-beta1+android2",
"1.1.0-beta1+ios1",
"1.1.0-beta1",
"1.0.1",
"1.0.0",
"1.0-beta5",
"1.0-beta4",
"1.0-beta2",
"1.0-beta1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68579.json"
}
}
],
"modified": "2026-10-28T02:30:23.900575018Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68579.json",
"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m37j-jcr2-8gcc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-68579",
"https://www.vulncheck.com/advisories/freerdp-before-heap-overflow-via-cliprdrstream-read",
"https://github.com/FreeRDP/FreeRDP/commit/5e8e987b469b60a3bafadf8f5afc40f91c09f458"
],
"provider_metadata": {
"cwe_ids": [
"CWE-787"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68579.json"
}
},
"related_cves": [
{
"value": "CVE-2026-68579",
"evidence": "/id"
},
{
"value": "CVE-2026-76840",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490417,
"published_at": "2026-08-02T12:15:26.483+00:00"
}