# CVE-2026-26965: 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-26965, DEBIAN-CVE-2026-26965, ALPINE-CVE-2026-26965
- Record: https://cvemate.com/vulnerability/CVE-2026-26965 · JSON: https://cvemate.com/vulnerability/CVE-2026-26965/json

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, in the RLE planar decode path, `planar_decompress_plane_rle()` writes into `pDstData` at `((nYDst+y) * nDstStep) + (4*nXDst) + nChannel` without verifying that `(nYDst+nSrcHeight)` fits in the destination height or that `(nXDst+nSrcWidth)` fits in the destination stride. When `TempFormat != DstFormat`, `pDstData` becomes `planar->pTempData` (sized for the desktop), while `nYDst` is only validated against the **surface** by `is_within_surface()`. A malicious RDP server can exploit this to perform a heap out-of-bounds write with attacker-controlled offset and pixel data on any connecting FreeRDP client. The OOB write reaches up to 132,096 bytes past the temp buffer end, and  on the brk heap (desktop ≤ 128×128), an adjacent `NSC_CONTEXT` struct's `decode` function pointer is overwritten with attacker-controlled pixel data — control-flow–relevant corruption (function pointer overwritten) demonstrated under deterministic heap layout (`nsc->decode = 0xFF414141FF414141`). Version 3.23.0 fixes the vulnerability.
```

## 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.678%, percentile 53.725%, as of 2026-12-04
- 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)
- 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-5vgf-mw4f-r33h>
- <https://github.com/FreeRDP/FreeRDP/commit/a0be5cb87d760bb1c803ad1bb835aa1e73e62abc>
- <https://access.redhat.com/security/cve/CVE-2026-26965>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2442959>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26965.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-26965>

---

Data as of 2026-12-05T07:09:06.084Z. 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
