← Vulnerability feed

Vulnerability record · CVE-2026-40033 · published 26 May 2026

CVE-2026-40033: Freerdp heap-based buffer overflow vulnerability

Freerdp · Freerdp

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.

8.7 CVSS 4.0 High EPSS 1.1% · top 36.8% CWE-122 · Heap-based buffer overflowCWE-787 · Out-of-bounds write
8.7CVSS 4.0 base score
1.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 2 tagged exploit
27 Jul 2026Last modified by NVD

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.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40033 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-31883Freerdp heap-based buffer overflow vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, a size_t underflow in the IMA-ADPCM and MS-ADPCM audio decoders lea…EPSS 0.32%9.8CVE-2024-32662Freerdp out-of-bounds read vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read. T…EPSS 0.77%9.8CVE-2024-32659Freerdp out-of-bounds read vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read if…EPSS 1.2%9.8CVE-2024-32658Freerdp out-of-bounds read vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read. V…EPSS 1.4%9.8CVE-2024-32459Freerdp out-of-bounds read vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients and servers that use a version of FreeRDP prior to 3.5.0 or 2.…EPSS 3.7%9.8CVE-2024-32460Freerdp out-of-bounds read vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based based clients using `/bpp:32` legacy `GDI` drawing path with a version…EPSS 1.9%9.8CVE-2024-32039Freerdp integer overflow vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients using a version of FreeRDP prior to 3.5.0 or 2.11.6 are vulner…EPSS 2.3%9.8CVE-2024-32040Freerdp vulnerabilityFreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients that use a version of FreeRDP prior to 3.5.0 or 2.11.6 and hav…EPSS 1.9%

Source: NIST National Vulnerability Database (record CVE-2026-40033), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.