Heap Buffer Overflow in FreeRDP by FreeRDP
CVE-2026-40033

8.6HIGH

Key Information:

Vendor

Freerdp

Status
Vendor
CVE Published:
26 May 2026

What is CVE-2026-40033?

A heap-buffer-overflow vulnerability exists in FreeRDP versions prior to 3.26.0, specifically found in the gdi_CacheToSurface function. This vulnerability allows remote attackers to perform out-of-bounds heap memory writes due to improper rectangle validation. While the coordinates are clamped to UINT16_MAX, the copy operations use unvalidated cache entry dimensions, enabling malicious Remote Desktop Protocol (RDP) servers to trigger large out-of-bounds writes. Consequently, this could lead to remote code execution or cause the client to crash, posing significant risks to system integrity.

Affected Version(s)

FreeRDP 0 < 3.26.0

FreeRDP 3.26.0

References

CVSS V4

Score:
8.6
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

kevin-valerio
.