PT-2026-22017 · Freerdp+3 · Freerdp+3
Ppcavalcante
·
Published
2026-01-01
·
Updated
2026-04-25
·
CVE-2026-26955
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
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Freerdp
Linuxmint
Rocky Linux
Ubuntu