Skip to main content

RustDesk CVE-2026-76840

| EUVDEUVD-2026-64846 HIGH
Out-of-bounds Write (CWE-787)
2026-08-24 VulnCheck GHSA-8m44-j2jr-wmrp
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Attacker controls malicious RustDesk peer
  2. Delivery
    Victim connects and peer advertises file clipboard contents
  3. Exploit
    Local user initiates paste in Windows Explorer
  4. Install
    Explorer.exe calls IStream::Read requesting file bytes
  5. C2
    Malicious peer returns oversized FileContentsResponse (cbRequested >> cb)
  6. Execute
    CopyMemory overwrites explorer.exe heap past buffer boundary
  7. Impact
    Attacker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

RustDesk 0 ≤1.4.9

Affected Packages

euvd rustdesk no fix

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

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

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).

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:P/VC:N/VI:N/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular open-source TeamViewer alternative, significant but not enterprise-ubiquitous
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 No
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
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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-2024-25140 CRITICAL POC
9.8 Feb 06

A default installation of RustDesk 1.2.3 on Windows places a WDKTestCert certificate under Trusted Root Certification Au

CVE-2026-30798 HIGH POC
8.2 Mar 05

Remote denial-of-service in RustDesk Client through 1.4.5 allows network-positioned attackers to disrupt the remote-acce

CVE-2026-58056 HIGH POC
7.2 Jun 28

Authorization scope bypass in RustDesk lets a peer holding only a FileTransfer authorization inject keyboard and mouse i

CVE-2026-30797 CRITICAL
9.3 Mar 05

Security vulnerability in RustDesk remote desktop client/server. One of 6+ critical CVEs affecting the open-source remot

CVE-2026-30793 CRITICAL
9.3 Mar 05

Security vulnerability in RustDesk remote desktop client/server. One of 6+ critical CVEs affecting the open-source remot

CVE-2026-30784 HIGH
8.8 Mar 05

Unauthenticated attackers can abuse missing authorization controls in RustDesk Server's rendezvous and relay modules (hb

CVE-2026-73108 HIGH
8.7 Aug 26

Memory exhaustion in RustDesk versions before 1.4.7 allows unauthenticated remote attackers to crash or severely degrade

CVE-2026-30795 HIGH
8.7 Mar 05

RustDesk Client through version 1.4.5 transmits sensitive preset address book credentials in cleartext during heartbeat

CVE-2026-3598 HIGH
8.7 Mar 05

RustDesk Server Pro through version 1.7.5 uses weak cryptographic algorithms in configuration string generation and web

CVE-2026-30792 HIGH
8.3 Mar 05

Configuration tampering in RustDesk Client through 1.4.5 allows a network-positioned attacker to manipulate Application

CVE-2026-30785 HIGH
8.2 Mar 05

RustDesk Client through version 1.4.5 on Windows, macOS, and Linux uses weak password hashing and improper object protot

CVE-2026-30791 HIGH
7.5 Mar 05

RustDesk Client through version 1.4.5 uses a broken cryptographic algorithm that allows attackers to retrieve sensitive

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