Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-26955
February 25, 2026
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, a malicious RDP server can trigger a heap buffer overflow in FreeRDP clients using the GDI surface pipeline (e.g., "xfreerdp") by sending an RDPGFX ClearCodec surface command with an out-of-bounds destination rectangle. The "gdi_SurfaceCommand_ClearCodec()" handler does not call "is_within_surface()" to validate the command rectangle against the destination surface dimensions, allowing attacker-controlled "cmd->left"/"cmd->top" (and subcodec rectangle offsets) to reach image copy routines that write into "surface->data" without bounds enforcement. The OOB write corrupts an adjacent "gdiGfxSurface" struct's "codecs*" pointer with attacker-controlled pixel data, and corruption of "codecs*" is sufficient to reach an indirect function pointer call ("NSC_CONTEXT.decode" at "nsc.c:500") on a subsequent codec command — full instruction pointer (RIP) control demonstrated in exploitability harness. Users should upgrade to version 3.23.0 to receive a patch.
Affected Packages
https://github.com/FreeRDP/FreeRDP.git (GITHUB):
Affected version(s) >=3.0.0 <3.23.0
Fix Suggestion:
Update to version 3.23.0
https://github.com/FreeRDP/FreeRDP.git (GITHUB):
Affected version(s) >=1.0-beta1 <2.11.8
Fix Suggestion:
Update to version 2.11.8
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.04