Allocation of Resources Without Limits or Throttling in FreeRDP - CVE-2026-121399
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service through excessive client memory consumption.
The vulnerability exists due to allocation of resources without appropriate limits in FreeRDP's rdg_receive_packet function when processing RD Gateway packet headers during a user-initiated gateway connection. A remote attacker can operate a malicious or compromised gateway and send the eight-byte header 02 00 00 00 ff ff ff 7f to trigger allocation and zero-filling of about 2 GiB of client memory before tunnel authentication. The declared length 0x7FFFFFFF passes the INT_MAX check and reaches Stream_EnsureCapacity before body bytes are read. Withholding the body leaves the client waiting while retaining the memory, potentially causing a denial of service under constrained memory.