Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, freerdp_image_copy_from_icon_data in libfreerdp/codec/color.c calculates nWidth multiplied by nHeight multiplied by FreeRDPGetBytesPerPixel(format) in 32-bit arithmetic. A malicious RDP server can send a RAIL TS_ICON_INFO update with dimensions such as 32768 by 32768 and 32 bits per pixel so the required-size calculation wraps, bypassing the cbBitsColor source bounds check before freerdp_image_copy_no_overlap reads attacker-controlled icon data. This affects RemoteApp clients using the vulnerable library path, while xfreerdp has a caller-side mitigation. This issue is fixed in version 3.27.0.
Severity (CVSS)
| Base score | 6.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-190 — CWE-190: Integer Overflow or Wraparound
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.27.0 |
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5c5v-f78v-h2f6 (x_refsource_CONFIRM)
- https://github.com/FreeRDP/FreeRDP/pull/12877 (x_refsource_MISC)
- https://github.com/FreeRDP/FreeRDP/commit/e4ae473da2926724d9b6329778797a3bdea79eb3 (x_refsource_MISC)
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0 (x_refsource_MISC)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.