PT-2026-22018 · Freerdp+3 · Freerdp+3

Ppcavalcante

·

Published

2026-01-01

·

Updated

2026-04-25

·

CVE-2026-26965

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions FreeRDP versions prior to 3.23.0
Description FreeRDP is a free implementation of the Remote Desktop Protocol. A flaw exists in the RLE planar decode path within the planar decompress plane rle() function, where it writes to memory without proper bounds checking. Specifically, it writes to pDstData at ((nYDst+y) * nDstStep) + (4*nXDst) + nChannel without verifying that (nYDst+nSrcHeight) fits within the destination height or that (nXDst+nSrcWidth) fits within the destination stride. When TempFormat is not equal to DstFormat, pDstData becomes planar->pTempData, and nYDst is only validated against the surface using 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 out-of-bounds write can reach up to 132,096 bytes past the end of the temporary buffer. On the brk heap, the decode function pointer within an adjacent NSC CONTEXT struct can be overwritten with attacker-controlled pixel data, leading to control-flow corruption.
Recommendations FreeRDP versions prior to 3.23.0 should be updated to version 3.23.0 or later.

Exploit

Fix

RCE

Memory Corruption

Weakness Enumeration

Related Identifiers

ALSA-2026:5939
ALSA-2026:6004
ALSA-2026:6005
BDU:2026-04153
CVE-2026-26965
GHSA-5VGF-MW4F-R33H
MGASA-2026-0086
OESA-2026-2036
OESA-2026-2037
OESA-2026-2038
OESA-2026-2039
OESA-2026-2040
OPENSUSE-SU-2026:10408-1
OPENSUSE-SU-2026:10459-1
OPENSUSE-SU-2026:20632-1
OPENSUSE-SU-2026:20657-1
RHSA-2026:5936
RHSA-2026:5939
RHSA-2026:6004
RHSA-2026:6005
RHSA-2026:6384
RHSA-2026:6385
RHSA-2026:6395
RHSA-2026:6396
RHSA-2026:6616
RHSA-2026:6665
RHSA-2026:6712
RHSA-2026:6764
RHSA-2026:7292
SUSE-SU-2026:1129-1
SUSE-SU-2026:1160-1
SUSE-SU-2026:1164-1
SUSE-SU-2026:1165-1
SUSE-SU-2026:1398-1
SUSE-SU-2026:21436-1
USN-8105-1

Affected Products

Freerdp
Linuxmint
Rocky Linux
Ubuntu