CVE-2026-26955
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Feb 25, 2026
CISA due date
—
The record
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
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | freerdp | 0 | 2.11.2-150600.4.18.1 |
| openSUSE:Leap 15.6 | freerdp | 0 | 2.11.2-150600.4.18.1 |
| openSUSE:Tumbleweed | freerdp | 0 | 3.24.1-1.1 |
| openSUSE:Tumbleweed | freerdp2 | 0 | 2.11.7-6.1 |
Related vulnerabilities
- CVE-2026-31885 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-31883 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-31806 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-26965 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-26271 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-24684 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-24682 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp
- CVE-2026-24678 FreeRDP is a free implementation of the Remote Desktop Protocol. Also affects freerdp