CVE-2026-121399: FreeRDP before 3.32.2 Memory Exhaustion via RD Gateway Packet Length
FreeRDP before 3.32.2 contains a memory allocation vulnerability in rdgreceivepacket that allows a malicious RD Gateway to force a 2 GiB client allocation before tunnel authentication. Attackers can send an eight-byte RDG header declaring packet length 0x7FFFFFFF to trigger pre-authentication memory exhaustion and denial of service.
Other sources
FreeRDP before 3.32.2 Memory Exhaustion via RD Gateway Packet Length
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.32.2+dfsg-1 - Upgrade
Upgrade
azurelinux/freerdpto a version that resolves this vulnerability.Fixed in 2:3.33.0-10.azl4 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.32.2+dfsg-0ubuntu0.24.04.1 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.32.2+dfsg-0ubuntu0.26.10.1 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.32.2+dfsg-0ubuntu0.26.04.1
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
FreeRDP clients that connect through an RD Gateway are exposed if they run a version before 3.32.2. The vulnerable packet handling occurs before tunnel authentication, so the gateway does not need to authenticate to trigger the allocation.
What does an attacker need to do to exploit it?
An attacker needs to operate or impersonate a malicious RD Gateway that the FreeRDP client connects to. They can send an eight-byte RDG header with a declared packet length of 0x7FFFFFFF, causing the client to attempt a 2 GiB allocation.
What is the practical impact?
Successful exploitation can exhaust memory on the client and cause a denial of service. The provided information does not indicate confidentiality or integrity impact.