8.8high
FreeRDP RDPGFX CacheToSurface heap-buffer-overflow via clamped-rectangle validation bypass
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.51% (higher than 44% 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.26.0, a malicious RDP server can trigger a heap-buffer-overflow write in the FreeRDP client by sending crafted RDPGFX PDUs. The bug is in gdi_CacheToSurface: it validates a destination rectangle that is clamped to UINT16_MAX, but then performs the copy using the original cacheEntry->width/height. This can cause a large out-of-bounds heap write and may lead to client crashes or code execution. This bug is reachable from a malicious RDP server, but only when the client has RDPGFX enabled. This vulnerability is fixed in 3.26.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeRDP FreeRDP | < 3.26.0, before 3.26.0 | CVE List, NVD |
| freerdp | Not specified Not affected: from 2:3.10.3-12.el10_2.6 before * | CVE List |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| redhat-SADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.26.0, a malicious RDP server can trigger a heap-buffer-overflow write in the FreeRDP client by sending crafted RDPGFX PDUs. The bug is in gdi_CacheToSurface: it validates a destination rectangle that is clamped to UINT16_MAX, but then performs the copy using the original cacheEntry->width/height. This can cause a large out-of-bounds heap write and may lead to client crashes or code execution. This bug is reachable from a malicious RDP server, but only when the client has RDPGFX enabled. This vulnerability is fixed in 3.26.0.
NVD (es)
FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.26.0, un servidor RDP malicioso puede desencadenar una escritura de desbordamiento de búfer de pila en el cliente FreeRDP enviando PDUs RDPGFX manipuladas. El error está en gdi_CacheToSurface: valida un rectángulo de destino que está limitado a UINT16_MAX, pero luego realiza la copia utilizando el ancho/alto original de cacheEntry. Esto puede causar una escritura de pila fuera de límites grande y puede llevar a caídas del cliente o ejecución de código. Este error es alcanzable desde un servidor RDP malicioso, pero solo cuando el cliente tiene RDPGFX habilitado. Esta vulnerabilidad está corregida en la versión 3.26.0.
References
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ff | exploit, mitigation, vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-44421 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2483471 | issue-tracking | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44421.json | ||
| https://access.redhat.com/errata/RHSA-2026:46393 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:36203 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44421 changed 2026-07-27 | CVE Terms of Use |
| NVD | CVE-2026-44421 changed 2026-07-27 | Public domain |