CVE-2026-44421
JSON

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 packageVersionsReported by
FreeRDP FreeRDP< 3.26.0, before 3.26.0CVE List, NVD
freerdpNot specified
Not affected: from 2:3.10.3-12.el10_2.6 before *
CVE List

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-44421 changed 2026-07-27CVE Terms of Use
NVDCVE-2026-44421 changed 2026-07-27Public domain