# CVE-2026-26955: FreeRDP has Out-of-bounds Write

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.23.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-02-25 · Modified: 2026-07-15
- Aliases: UBUNTU-CVE-2026-26955, DEBIAN-CVE-2026-26955, ALPINE-CVE-2026-26955
- Record: https://cvemate.com/vulnerability/CVE-2026-26955 · JSON: https://cvemate.com/vulnerability/CVE-2026-26955/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.66%, percentile 52.968%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.23.0-r0
- debian freerdp2 (Debian): All versions (No fix recorded) \| \< 2.11.7+dfsg1-6~deb12u2
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u1 \| \< 3.23.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.5.1+dfsg1-0ubuntu1.4 \| \< 3.16.0+dfsg-2ubuntu0.3
- freerdp freerdp: \< 3.23.0

## References (first 20 of 24)

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mr6w-ch7c-mqqj>
- <https://github.com/FreeRDP/FreeRDP/commit/7d8fdce2d0ef337cb86cb37fc0c436c905e04d77>
- <https://access.redhat.com/security/cve/CVE-2026-26955>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2443132>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26955.json>
- <https://access.redhat.com/errata/RHSA-2026:7292>
- <https://access.redhat.com/errata/RHSA-2026:5936>
- <https://access.redhat.com/errata/RHSA-2026:5939>
- <https://access.redhat.com/errata/RHSA-2026:19033>
- <https://access.redhat.com/errata/RHSA-2026:6005>
- <https://access.redhat.com/errata/RHSA-2026:6712>
- <https://access.redhat.com/errata/RHSA-2026:6616>
- <https://access.redhat.com/errata/RHSA-2026:6665>
- <https://access.redhat.com/errata/RHSA-2026:6764>
- <https://access.redhat.com/errata/RHSA-2026:6395>
- <https://access.redhat.com/errata/RHSA-2026:6396>
- <https://access.redhat.com/errata/RHSA-2026:6384>
- <https://access.redhat.com/errata/RHSA-2026:6385>
- <https://access.redhat.com/errata/RHSA-2026:6004>
- <https://ubuntu.com/security/CVE-2026-26955>

---

Data as of 2026-12-06T06:44:59.401Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
