CVE-2026-40033
FreeRDP before 3.26.0 contains a heap-buffer-overflow vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/FreeRDP/FreeRDP/commit/23b36cd00ebf0ccd97750fcdbc9aa2f362352da7
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ff
- www.vulncheck.com/advisories/freerdp-heap-buffer-overflow-in-gdi-cachetosurface-via-rectan
- github.com/FreeRDP/FreeRDP/commit/d7508ebcd82842a691ae4941e5104d14240a89ae
- github.com/FreeRDP/FreeRDP/pull/12713
- access.redhat.com/security/cve/CVE-2026-40033
- bugzilla.redhat.com/show_bug.cgi?id=2481473
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40033.json
- nvd.nist.gov/vuln/detail/CVE-2026-40033
- cve.org/CVERecord?id=CVE-2026-40033
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.