6.1medium
FreeRDP: Integer Overflow in `freerdp_image_copy_from_icon_data` Bypasses Bounds Check
- Severity
- 6.1medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeRDP FreeRDP | < 3.27.0, before 3.27.0 | CVE List, NVD |
All scores
| GitHub_M | 6.1medium CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la 3.27.0, freerdp_image_copy_from_icon_data en libfreerdp/codec/color.c calcula nWidth multiplicado por nHeight multiplicado por FreeRDPGetBytesPerPixel(format) en aritmética de 32 bits. Un servidor RDP malicioso puede enviar una actualización RAIL TS_ICON_INFO con dimensiones como 32768 por 32768 y 32 bits por píxel para que el cálculo del tamaño requerido se desborde, eludiendo la verificación de límites de la fuente cbBitsColor antes de que freerdp_image_copy_no_overlap lea datos de icono controlados por el atacante. Esto afecta a los clientes de RemoteApp que utilizan la ruta de la biblioteca vulnerable, mientras que xfreerdp tiene una mitigación del lado del llamador. Este problema está solucionado en la versión 3.27.0.
References
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5c5v-f78v-h2f6 | mitigation, vendor-advisory | |
| https://github.com/FreeRDP/FreeRDP/pull/12877 | issue-tracking, patch | |
| https://github.com/FreeRDP/FreeRDP/commit/e4ae473da2926724d9b6329778797a3bdea79eb3 | patch | |
| https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0 | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55648 changed 2026-08-21 | CVE Terms of Use |
| NVD | CVE-2026-55648 changed 2026-10-26 | Public domain |