Vulnerability · Published Feb 25, 2026 · Assigned by GitHub_M
CVE-2026-26965FreeRDP has Out-of-bounds Write
High 8.8
In plain English
A high-severity out-of-bounds write in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | freerdp | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux:8 | freerdp | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux:9 | freerdp | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux:10 | freerdp-devel | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux:8 | freerdp-devel | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux:9 | freerdp-devel | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux:10 | freerdp-libs | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux:8 | freerdp-libs | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux:9 | freerdp-libs | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux:10 | freerdp-server | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux:10 | libwinpr | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux:8 | libwinpr | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux:9 | libwinpr | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| AlmaLinux:10 | libwinpr-devel | 2:3.10.3-5.el10_1.3 | ALSA-2026:5939 |
| AlmaLinux:8 | libwinpr-devel | 2:2.11.7-4.el8_10 | ALSA-2026:6005 |
| AlmaLinux:9 | libwinpr-devel | 2:2.11.7-1.el9_7.3 | ALSA-2026:6004 |
| Alpine:v3.23 | freerdp | 3.23.0-r0 | ALPINE-CVE-2026-26965 |
| Alpine:v3.24 | freerdp | 3.23.0-r0 | ALPINE-CVE-2026-26965 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-26965 |
| Debian:13 | freerdp3 | 3.15.0+dfsg-2.1+deb13u1 | DEBIAN-CVE-2026-26965 |
| Debian:14 | freerdp3 | 3.23.0+dfsg-1 | DEBIAN-CVE-2026-26965 |
| Rocky Linux:8 | freerdp | 2:2.11.7-4.el8_10 | RLSA-2026:6005 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-26965 |
| Ubuntu:24.04:LTS | freerdp3 | 3.5.1+dfsg1-0ubuntu1.4 | USN-8105-1 |
| Ubuntu:24.04:LTS | freerdp3 | 3.5.1+dfsg1-0ubuntu1.4 | UBUNTU-CVE-2026-26965 |
| Ubuntu:25.10 | freerdp3 | 3.16.0+dfsg-2ubuntu0.3 | UBUNTU-CVE-2026-26965 |
| Ubuntu:25.10 | freerdp3 | 3.16.0+dfsg-2ubuntu0.3 | USN-8105-1 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5vgf-mw4f-r33h x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/a0be5cb87d760bb1c803ad1bb835aa1e73e62abc x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-26965 vdb-entry, x_refsource_REDHAT
- RHBZ#2442959 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26965.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:7292 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5936 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:5939 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19033 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6005 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6712 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6616 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6665 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6764 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6395 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6396 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6384 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6385 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6004 vendor-advisory, x_refsource_REDHAT