PT-2026-22017 · Freerdp+4 · Freerdp+4
CVSS v4.0
10
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
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