RustDesk's Windows clipboard redirection contains a vulnerability where a peer-supplied length is copied into a fixed-size buffer without an upper bound check. This can lead to a heap buffer overflow when pasting clipboard file contents from a malicious or compromised remote peer. The flaw originates from improper handling of the requested file contents size, allowing attacker-controlled data to overwrite memory beyond the intended buffer.