PT-2026-22017 · Freerdp+4 · Freerdp+4
CVSS v2.0
10
High
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
FreeRDP versions prior to 3.23.0
Description
A malicious RDP server can trigger a heap buffer overflow in FreeRDP clients using the GDI surface pipeline, such as
xfreerdp. This occurs when sending an RDPGFX ClearCodec surface command with an out-of-bounds destination rectangle. The gdi SurfaceCommand ClearCodec() handler lacks validation of the command rectangle against the destination surface dimensions. This allows attacker-controlled cmd->left and cmd->top values to reach image copy routines that write into surface->data without bounds enforcement. Corruption of the codecs* pointer leads to an indirect function pointer call at NSC CONTEXT.decode in nsc.c:500, potentially resulting in full instruction pointer control.Recommendations
Upgrade to version 3.23.0 to receive a patch.
Exploit
Fix
DoS
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Freerdp
Linuxmint
Red Os
Rocky Linux
Ubuntu