Description
RustDesk versions before 1.4.7 contain an uncontrolled speculative memory allocation vulnerability in BytesCodec. Before authentication, the decoder trusts the payload length encoded in a four-byte frame header and reserves that amount before receiving the payload. A crafted header can request up to 1,073,741,823 bytes of capacity, allowing unauthenticated attackers to use concurrent TCP connections to cause memory exhaustion and denial of service. The fix caps header-triggered speculative preallocation at 256 KiB.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rustdesk | rustdesk | < 1.4.7 | 1.4.7 |
Advisories 1
- WID-SEC-2026-3050 RustDesk: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Aug 26, 2026
References
- RustDesk 1.4.7 Release Notes release-notes
- hbb_common Patch Commit patch
- RustDesk Patch Commit patch
- https://www.vulncheck.com/advisories/rustdesk-uncontrolled-memory-allocation-dos-via-bytescodec third-party-advisory