CVE-2026-26965FreeRDP has Out-of-bounds Write
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | freerdp3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | freerdp3 | Fixed | 3.16.0+dfsg-2ubuntu0.3 | UBUNTU-CVE-2026-26965 |
| Ubuntu 24.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-26965 | |
| Ubuntu 24.04 | freerdp3 | Fixed | 3.5.1+dfsg1-0ubuntu1.4 | UBUNTU-CVE-2026-26965 |
| Ubuntu 22.04 | freerdp2 | Under investigation | UBUNTU-CVE-2026-26965 | |
| Ubuntu 20.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-26965 | |
| Ubuntu 18.04 | freerdp | Fix pending | UBUNTU-CVE-2026-26965 | |
| Ubuntu 18.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-26965 | |
| Ubuntu 16.04 | freerdp | Fix pending | UBUNTU-CVE-2026-26965 | |
| Debian 14 | freerdp3 | Fixed | 3.23.0+dfsg-1 | DEBIAN-CVE-2026-26965 |
| Debian 13 | freerdp3 | Fixed | 3.15.0+dfsg-2.1+deb13u1 | DEBIAN-CVE-2026-26965 |
| Debian 12 | freerdp2 | Fix pending | DEBIAN-CVE-2026-26965 | |
| Red Hat Enterprise Linux 10 | freerdp | Fixed | 2:3.10.3-5.el10_1.3 | RHSA-2026:19033 |
| Red Hat Enterprise Linux 10 | freerdp-devel | Fixed | 2:3.10.3-5.el10_1.3 | RHSA-2026:19033 |
| Red Hat Enterprise Linux 10 | freerdp-libs | Fixed | 2:3.10.3-5.el10_1.3 | RHSA-2026:19033 |
| Red Hat Enterprise Linux 10 | freerdp-server | Fixed | 2:3.10.3-5.el10_1.3 | RHSA-2026:19033 |
| Red Hat Enterprise Linux 10 | libwinpr | Fixed | 2:3.10.3-5.el10_1.3 | RHSA-2026:19033 |
| Red Hat Enterprise Linux 10 | libwinpr-devel | Fixed | 2:3.10.3-5.el10_1.3 | RHSA-2026:19033 |
| Red Hat Enterprise Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9_7.3 | RHSA-2026:6004 |
| Red Hat Enterprise Linux 9 | freerdp-devel | Fixed | 2:2.11.7-1.el9_7.3 | RHSA-2026:6004 |
| Red Hat Enterprise Linux 9 | freerdp-libs | Fixed | 2:2.11.7-1.el9_7.3 | RHSA-2026:6004 |
| Red Hat Enterprise Linux 9 | libwinpr | Fixed | 2:2.11.7-1.el9_7.3 | RHSA-2026:6004 |
| Red Hat Enterprise Linux 9 | libwinpr-devel | Fixed | 2:2.11.7-1.el9_7.3 | RHSA-2026:6004 |
| Red Hat Enterprise Linux 8 | freerdp | Fixed | 2:2.11.7-4.el8_10 | RHSA-2026:6005 |
| Red Hat Enterprise Linux 8 | freerdp-devel | Fixed | 2:2.11.7-4.el8_10 | RHSA-2026:6005 |
| Red Hat Enterprise Linux 8 | freerdp-libs | Fixed | 2:2.11.7-4.el8_10 | RHSA-2026:6005 |
| Red Hat Enterprise Linux 8 | libwinpr | Fixed | 2:2.11.7-4.el8_10 | RHSA-2026:6005 |
| Red Hat Enterprise Linux 8 | libwinpr-devel | Fixed | 2:2.11.7-4.el8_10 | RHSA-2026:6005 |
| Red Hat Enterprise Linux 6 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp-plugins | Not affected | ||
| AlmaLinux 10 | freerdp | Fixed | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux 10 | freerdp-devel | Fixed | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux 10 | freerdp-libs | Fixed | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux 10 | freerdp-server | Fixed | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux 10 | libwinpr | Fixed | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux 10 | libwinpr-devel | Fixed | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux 9 | freerdp | Fixed | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux 9 | freerdp-devel | Fixed | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux 9 | freerdp-libs | Fixed | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux 9 | libwinpr | Fixed | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux 9 | libwinpr-devel | Fixed | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux 8 | freerdp | Fixed | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux 8 | freerdp-devel | Fixed | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux 8 | freerdp-libs | Fixed | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux 8 | libwinpr | Fixed | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux 8 | libwinpr-devel | Fixed | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| Rocky Linux 8 | freerdp | Fixed | 2:2.11.7-4.el8_10 | RLSA-2026:6005 |
| Alpine Linux 3.24 | freerdp | Fixed | 3.23.0-r0 | ALPINE-CVE-2026-26965 |
| Alpine Linux 3.23 | freerdp | Fixed | 3.23.0-r0 | ALPINE-CVE-2026-26965 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FreeRDP: affected: < 3.23.0
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5vgf-mw4f-r33h
- https://github.com/FreeRDP/FreeRDP/commit/a0be5cb87d760bb1c803ad1bb835aa1e73e62abc
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.