RustDesk through 1.4.9 Heap Buffer Overflow via Unvalidated CLIPRDR FileContentsResponse Length
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rustdesk-client | rustdesk | up to 1.4.9 | — | No fix listed | CNA |
- rustdesk Vendorrustdesk-client Affected up to 1.4.9 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-76840
- 2026-10-03 Alias added: GHSA-8m44-j2jr-wmrp
References
More rustdesk-client vulnerabilities
- TI-2024-16591 A default installation of RustDesk 1.2.3 on Windows places a WDKTestCert certificate… CVSS 3.1CRITICAL 9.8
- TI-2026-23626 RustDesk HTTP Client Silently Accepts Invalid TLS Certificates After Handshake Failure CVSS 4.0HIGH 8.7
- TI-2026-23624 RustDesk Client Blindly Merges Unauthenticated Strategy Payloads, Bypassing Local Security Settings CVSS 4.0HIGH 8.3
- TI-2026-23621 RustDesk Encrypts Local Passwords with World-Readable Machine ID and Fixed Zero Nonce (XSalsa20-Poly1305) CVSS 4.0HIGH 8.2
- TI-2026-03102 RustDesk Server Generates Config Strings Using Reversible Encoding (Base64 + Reverse) Instead of Encryption CVSS 4.0HIGH 8.7
- TI-2026-23629 RustDesk Client Accepts Unauthenticated stop-service Command via Strategy Payload CVSS 4.0HIGH 8.2
Sources
- CVE-2026-76840 · CVE Program
- CVE-2026-76840 · NVD
- FIRST EPSS
- GHSA-8m44-j2jr-wmrp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences