Out-of-bounds read in FreeRDP - CVE-2026-57158

 

Out-of-bounds read in FreeRDP - CVE-2026-57158

Published: July 6, 2026 / Updated: August 21, 2026


Vulnerability identifier: #VU136925
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-57158
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds read in planar_decompress_plane_rle_only when processing a truncated RLE planar payload in RDPGFX_CMDID_WIRETOSURFACE_1. A remote attacker can send a specially crafted WireToSurface packet with codecId=PLANAR and a payload truncated by 1 byte to cause a denial of service.

No user interaction beyond connecting to the server is required.


Affected software

FreeRDP
Fedora
freerdp

How to mitigate CVE-2026-57158

Install security update from vendor's website.

FreeRDP - update to 3.28.0
freerdp - addressed in versions 3.28.0-1.fc43, 3.28.0-1.fc44

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins