High severity8.8NVD Advisory· Published May 26, 2026· Updated Jul 27, 2026
CVE-2026-40033
CVE-2026-40033
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
13- osv-coords10 versionspkg:rpm/almalinux/freerdppkg:rpm/almalinux/freerdp-develpkg:rpm/almalinux/freerdp-libspkg:rpm/almalinux/freerdp-serverpkg:rpm/almalinux/libwinprpkg:rpm/almalinux/libwinpr-develpkg:rpm/opensuse/freerdp&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/freerdp&distro=openSUSE%20Tumbleweedpkg:rpm/suse/freerdp&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/freerdp&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0
< 2:3.10.3-12.el10_2.6+ 9 more
- (no CPE)range: < 2:3.10.3-12.el10_2.6
- (no CPE)range: < 2:3.10.3-12.el10_2.6
- (no CPE)range: < 2:3.10.3-12.el10_2.6
- (no CPE)range: < 2:3.10.3-12.el10_2.6
- (no CPE)range: < 2:3.10.3-12.el10_2.6
- (no CPE)range: < 2:3.10.3-12.el10_2.6
- (no CPE)range: < 3.26.0-160000.1.1
- (no CPE)range: < 3.26.0-3.1
- (no CPE)range: < 3.26.0-160000.1.1
- (no CPE)range: < 3.26.0-160000.1.1
Patches
Vulnerability mechanics
References
9- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ffnvdExploitMitigationVendor Advisory
- www.vulncheck.com/advisories/freerdp-heap-buffer-overflow-in-gdi-cachetosurface-via-rectangle-validation-bypassnvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:36203nvd
- access.redhat.com/errata/RHSA-2026:46393nvd
- access.redhat.com/security/cve/CVE-2026-40033nvd
- bugzilla.redhat.com/show_bug.cginvd
- github.com/FreeRDP/FreeRDP/commit/d7508ebcd82842a691ae4941e5104d14240a89aenvd
- github.com/FreeRDP/FreeRDP/pull/12713nvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40033.jsonnvd
News mentions
0No linked articles in our index yet.