Infinite loop in FreeRDP - CVE-2026-121400
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through sustained CPU exhaustion in a FreeRDP client.
The vulnerability exists due to an unbounded retry loop in FreeRDP's rdg_process_control_packet function when reading an incomplete control packet after the RD Gateway tunnel opens. A remote attacker can operate a malicious gateway that a victim connects to, complete the tunnel-open exchange, and send the eight-byte keepalive header 0d 00 00 00 ff ff 00 00 with packetLength=0xFFFF while withholding the declared body and keeping the connection open to exhaust CPU resources. The function repeatedly calls rdg_socket_read while BIO_should_retry is true without waiting, backing off, or limiting retries.