CVE-2026-40033

HIGH CVSS 4.0: 8.7 EPSS 1.36%
Updated Jul 27, 2026
Freerdp
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 3.26.0
Fixed In 3.26.0
Type CWE-787 (Out-of-bounds Write), CWE-122 (Heap-based Buffer Overflow)
Vendor Freerdp
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Freerdp Freerdp
cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
— 3.26.0