CVE-2026-40033

high
Published 2026-05-26 · Modified 2026-05-27
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
8.8

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.

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-40033.html

vendor Authored 2026-05-27

Vendor advisory: disclosure@vulncheck.com — https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ff

vendor Authored 2026-05-27

Vendor advisory: disclosure@vulncheck.com — https://github.com/FreeRDP/FreeRDP/commit/23b36cd00ebf0ccd97750fcdbc9aa2f362352da7

OS impact

OSVersionStatusFixed in
suse slesaffected

Application impact

VendorProductVersionsFixed
freerdpfreerdp{"endExcluding":"3.26.0"}3.26.0

References

CWEs

CWE-122

Verify integrity in audit chain (admin only). AS-IS.