Heap-based buffer overflow in FreeRDP - CVE-2026-121950

 

Heap-based buffer overflow in FreeRDP - CVE-2026-121950

Published: November 4, 2026 / Updated: November 5, 2026


Vulnerability identifier: #VU159320
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-121950
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service through a heap-based buffer overflow in a 32-bit FreeRDP client.

The vulnerability exists due to a heap-based buffer overflow caused by unchecked integer multiplication in the WinPR fallback allocator and FreeRDP gdi_CreateSurface initialization when processing a crafted RDPGFX CREATE_SURFACE PDU. A remote attacker can send a 15-byte PDU specifying width and height values of 32766 from a malicious or compromised RDP server to which the victim connects, causing the allocation size to wrap to 524288 bytes while subsequent row initialization exceeds that allocation, resulting in a denial of service.

Exploitation requires the RDPGFX dynamic virtual channel and software GDI decoding to be enabled.


Affected software

FreeRDP

How to mitigate CVE-2026-121950

Install security update from vendor's website.

FreeRDP - update to 3.32.2

External References

Related Security Bulletins