CVE-2026-40033

FreeRDP before 3.26.0 contains a heap-buffer-overflow vulnerability in gdi_CacheToSurface that allows remote attackers to write out-of-bounds heap memory. The vulnerability occurs because rectangle validation clamps coordinates to UINT16_MAX but performs copy operations using unclamped cache entry dimensions, enabling malicious RDP servers to trigger large out-of-bounds writes and potentially achieve remote code execution or client crash.

Score
CVSS 3.1 8.8 High
Status
Modified - disclosure@vulncheck.com
Published
2026-05-26
Last modified
2026-07-27
Weaknesses
CWE-122, CWE-787

Affected products

References