Buffer overflow in Freerdp

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.011 (63.2th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-40033: held from 0.010 to 0.011.

EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40033?
CVE-2026-40033 is a high-severity vulnerability in Freerdp, classified under Heap-based Buffer Overflow. CVSS score: 8.8/10. Published 2026-05-26.
How severe is CVE-2026-40033?
High severity. CVSS v3 base score is 8.8 out of 10.