What’s Vulnerable › Vulnerabilities

CVE-2026-40033: FreeRDP - Heap-buffer-overflow in gdi_CacheToSurface via rectangle validation bypass

Description

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.

Affected products

How to fix

Upgrade to a fixed version: FreeRDP 3.26.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40033 or the next vulnerability affects your stack