CVE-2026-40033

published 26 May 2026 · updated 8 Nov 2026

FreeRDP - Heap-buffer-overflow in gdi_CacheToSurface via rectangle validation bypass

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.26.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeRDP<3.26.03.26.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40033 severity on Zeptric[![CVE-2026-40033](https://zeptric.io/badge/cve/CVE-2026-40033.svg)](https://zeptric.io/cve/CVE-2026-40033)