Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker controls malicious RustDesk peer
-
DeliveryVictim connects and peer advertises file clipboard contents
-
ExploitLocal user initiates paste in Windows Explorer
-
InstallExplorer.exe calls IStream::Read requesting file bytes
-
C2Malicious peer returns oversized FileContentsResponse (cbRequested >> cb)
-
ExecuteCopyMemory overwrites explorer.exe heap past buffer boundary
-
ImpactAttacker achieves code execution in user context
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 | Exploitation requires three specific conditions. First, the attacker must control or have compromised the remote peer machine in the RustDesk session - the overflow is triggered by the peer's CLIPRDR_FILE_CONTENTS_RESPONSE, so an attacker cannot exploit this without controlling the other end of the session. Second, the local user must actively initiate a paste operation involving clipboard file contents offered by the remote side (e.g., pressing Ctrl+V in Windows Explorer after the remote advertised file clipboard data); the overflow does not occur on connect or on clipboard advertisement alone. Third, this vulnerability is Windows-specific and only affects deployments where clipboard file redirection is enabled (which is the default in RustDesk). Factors limiting exploitation: the attacker cannot be a passive network observer - they must operate the peer machine; the user interaction requirement (a paste action) provides a weak but real gate; and the exploit must produce a controlled heap overflow in explorer.exe, which requires bypassing modern heap mitigations (ASLR, heap integrity checks) to achieve reliable code execution beyond a crash. |
| Impact | The CVSS 4.0 score of 8.5 with vector AV:N/AC:L/AT:N/PR:N/UI:P reflects a realistic threat model: network-reachable, low complexity, requiring only passive user interaction (a paste action). The scope change to subsequent systems (SI:H/SA:H) is well-supported - the overflow targets explorer.exe's heap, not RustDesk's own process, meaning successful exploitation compromises the shell host process with full user-context capabilities. UI:P correctly captures that the local user must perform a paste operation, which is a weak gate in a remote-desktop workflow where users routinely transfer files. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from that signal. KEV listing is absent, indicating no confirmed active exploitation at time of analysis. However, the root cause is precisely described and a public reference fix exists from FreeRDP CVE-2026-68579, significantly reducing the reverse-engineering burden for a motivated attacker. Exploitation requires the attacker to control or compromise the remote peer machine - a meaningful prerequisite that limits opportunistic mass exploitation compared to a pure client-side vulnerability. Even so, teams operating RustDesk deployments in environments where peers cannot be fully trusted should treat this as urgent, given the low complexity once peer control is established and the high-impact target (explorer.exe heap corruption). CVSS and technical signals are consistent; no conflicting data was identified. |
| Exploit ScenarioDerived | An attacker who controls or has compromised a machine running a RustDesk server instance waits for a victim to connect via RustDesk client on Windows. The attacker places a specially crafted file on the remote clipboard, which the victim's local client advertises as available for paste. When the victim performs a paste operation (e.g., Ctrl+V in Windows Explorer), explorer.exe requests file content via IStream::Read; the attacker's peer responds with a CLIPRDR_FILE_CONTENTS_RESPONSE whose cbRequested field far exceeds the IStream caller's buffer size, causing CopyMemory to write attacker-controlled bytes past the end of the explorer.exe heap allocation. No public exploit code has been identified at time of analysis, but the fix PR publicly documents the exact vulnerable code path, providing a blueprint for exploit development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Heap buffer overflow in RustDesk's Windows clipboard redirection (wf_cliprdr.c) allows a malicious or compromised remote peer to overwrite heap memory in the local paste consumer process (typically explorer.exe) when the local user pastes clipboard file contents offered by the remote side. The OLE paste consumer calls IStream::Read with a buffer of cb bytes, but CliprdrStream_Read blindly copies req_fsize bytes - taken verbatim from the peer's CLIPRDR FileContentsResponse - before the only bounds check (req_fsize < cb) is ever evaluated, meaning an oversized peer response writes attacker-controlled data past the end of the caller's heap allocation. No public exploit code has been identified at time of analysis, and CISA KEV status is not confirmed; however, an upstream fix PR (#15515) exists and the root cause is precisely documented, lowering the bar for exploit development. The identical defect was fixed in the upstream FreeRDP library as CVE-2026-68579 in FreeRDP 3.30.0, providing a public reference implementation of the fix.
RemediationAI
No released patched version of RustDesk has been confirmed from the available data - the fix exists as upstream PR #15515 (https://github.com/rustdesk/rustdesk/pull/15515) but a tagged release incorporating it has not been independently verified; monitor the RustDesk GitHub repository (https://github.com/rustdesk/rustdesk) for a release that includes this commit. Users building from source should apply PR #15515, which adds the guard 'if (clipboard->req_fsize > cb) { free(clipboard->req_fdata); clipboard->req_fdata = NULL; return STG_E_READFAULT; }' before the CopyMemory call in CliprdrStream_Read. As a compensating control where upgrading is not immediately possible, disable clipboard file sharing/redirection in RustDesk settings to prevent the vulnerable code path from being reachable; note this will break file-copy-paste workflows between peers. Alternatively, restrict RustDesk connections to only fully trusted peers under organizational control, reducing the probability of encountering a malicious peer. The FreeRDP reference fix, available in FreeRDP 3.30.0 (https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m37j-jcr2-8gcc), provides additional technical reference for validating any custom patch.
Affected VersionsENISA
Affected Packages
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
RustDesk's Windows clipboard implementation (libs/clipboard/src/windows/wf_cliprdr.c) is a fork of FreeRDP's wf_cliprdr.c and implements the RDP Clipboard Redirection Virtual Channel Extension (MS-RDPECLIP) to share clipboard file contents between a local Windows host and a remote peer. When the local user pastes file-type clipboard content, the OLE subsystem calls IStream::Read on a CliprdrStream object, which in turn calls cliprdr_send_request_filecontents to fetch the file data from the remote peer. The peer responds with a CLIPRDR_FILE_CONTENTS_RESPONSE containing a cbRequested field. The vulnerability (CWE-787: Out-of-bounds Write) arises because wf_cliprdr_server_file_contents_response stores cbRequested verbatim into clipboard->req_fsize without clamping it to the cb parameter passed by the OLE caller. The subsequent CopyMemory(pv, clipboard->req_fdata, clipboard->req_fsize) call then writes up to req_fsize bytes into a heap buffer of only cb bytes. The post-copy check (req_fsize < cb) is a short-read guard, not a safety check, and executes after the overflow has already occurred. The affected CPE is cpe:2.3:a:rustdesk:rustdesk:*:*:*:*:*:*:*:* (all versions through at least 1.4.9 per the referenced source blob).
Know when Rustdesk 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:L/SI:H/SA:H
Network peer sends malicious response (AV:N/AC:L/PR:N); user must paste (UI:R); overflow targets explorer.exe heap crossing process boundary (S:C/C:H/I:H/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
RustDesk's Windows clipboard redirection copies a peer-supplied length into a fixed-size caller buffer without an upper bound check. When an OLE paste consumer such as explorer.exe calls IStream::Read with a buffer of cb bytes, CliprdrStream_Read in libs/clipboard/src/windows/wf_cliprdr.c requests that many bytes of a remote file through cliprdr_send_request_filecontents and then executes CopyMemory(pv, clipboard->req_fdata, clipboard->req_fsize), where req_fsize is taken verbatim from the peer's CLIPRDR FileContentsResponse by wf_cliprdr_server_file_contents_response (req_fsize = fileContentsResponse->cbRequested) and is never clamped to cb anywhere in the chain. The function's only length comparison, req_fsize < cb, handles the short-read case and is evaluated after the copy has already occurred. A malicious or compromised peer that answers a small file-contents read with an oversized response therefore writes attacker-chosen data past the end of the paste consumer's heap buffer when the local user pastes clipboard file contents offered by the remote side. The file is a fork of FreeRDP's client/Windows/wf_cliprdr.c, where the same defect is CVE-2026-68579, fixed in FreeRDP 3.30.0.
Executive ViewAI
RustDesk's Windows clipboard redirection contains a heap buffer overflow vulnerability (CVSS 8.5) that allows a remote peer to overwrite memory in the paste consumer process, creating a pathway for unauthorized code execution. This affects Windows endpoints using RustDesk for remote access and demands immediate defensive action while a vendor patch is developed.
No vendor-released patch identified at time of analysis. Disable clipboard redirection if business operations permit; restrict RustDesk peer connections through network segmentation and firewall policies limiting traffic to trusted systems; implement behavioral detection for heap memory corruption exploitation attempts; consider geographic or network isolation of systems requiring remote access pending patch release.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
A default installation of RustDesk 1.2.3 on Windows places a WDKTestCert certificate under Trusted Root Certification Au
Remote denial-of-service in RustDesk Client through 1.4.5 allows network-positioned attackers to disrupt the remote-acce
Authorization scope bypass in RustDesk lets a peer holding only a FileTransfer authorization inject keyboard and mouse i
Security vulnerability in RustDesk remote desktop client/server. One of 6+ critical CVEs affecting the open-source remot
Security vulnerability in RustDesk remote desktop client/server. One of 6+ critical CVEs affecting the open-source remot
Unauthenticated attackers can abuse missing authorization controls in RustDesk Server's rendezvous and relay modules (hb
Memory exhaustion in RustDesk versions before 1.4.7 allows unauthenticated remote attackers to crash or severely degrade
RustDesk Client through version 1.4.5 transmits sensitive preset address book credentials in cleartext during heartbeat
RustDesk Server Pro through version 1.7.5 uses weak cryptographic algorithms in configuration string generation and web
Configuration tampering in RustDesk Client through 1.4.5 allows a network-positioned attacker to manipulate Application
RustDesk Client through version 1.4.5 on Windows, macOS, and Linux uses weak password hashing and improper object protot
RustDesk Client through version 1.4.5 uses a broken cryptographic algorithm that allows attackers to retrieve sensitive
EUVD-2026-64846
GHSA-8m44-j2jr-wmrp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB