5.4medium
FreeRDP: Out-of-bounds read in glyph_cache_get via crafted glyph fragments
- Severity
- 5.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 27% 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, the glyph_cache_get function in libfreerdp/cache/glyph.c checks whether index is greater than cache->number instead of greater than or equal to it. A malicious RDP server can use GLYPH_FRAGMENT_USE replay in update_process_glyph_fragments to make the default cache receive index 254 when cache->number is 254, reading one pointer beyond the entries array and dereferencing it as a glyph. This can crash the client and may disclose adjacent heap data. 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 | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
Classification
What each source says
CVE List
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, the glyph_cache_get function in libfreerdp/cache/glyph.c checks whether index is greater than cache->number instead of greater than or equal to it. A malicious RDP server can use GLYPH_FRAGMENT_USE replay in update_process_glyph_fragments to make the default cache receive index 254 when cache->number is 254, reading one pointer beyond the entries array and dereferencing it as a glyph. This can crash the client and may disclose adjacent heap data. This issue is fixed in version 3.27.0.
NVD (es)
FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de 3.27.0, la función glyph_cache_get en libfreerdp/cache/glyph.c verifica si el índice es mayor que cache -> number en lugar de mayor o igual que él. Un servidor RDP malicioso puede usar la repetición de GLYPH_FRAGMENT_USE en update_process_glyph_fragments para hacer que la caché predeterminada reciba el índice 254 cuando cache -> number es 254, leyendo un puntero más allá del array de entradas y desreferenciándolo como un glifo. Esto puede bloquear al cliente y puede divulgar datos adyacentes del heap. Este problema está solucionado en la versión 3.27.0.
References
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-6xmj-pr98-cx4c | exploit, mitigation, vendor-advisory | |
| https://github.com/FreeRDP/FreeRDP/pull/12885 | issue-tracking, patch | |
| https://github.com/FreeRDP/FreeRDP/commit/c29324750e3cbcba8761f147b7a5235cc686930f | patch | |
| https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0 | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55564 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-55564 changed 2026-10-26 | Public domain |