CVE-2026-40033
Last modified
CVE-2026-40033 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.94% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Freerdp | Freerdp | < 3.26.0 |
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ffExploit, Mitigation, Vendor Advisory
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ffExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-40033?
How severe is CVE-2026-40033?
How do I fix CVE-2026-40033?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40028Hayabusa versions prior to 3.8.0 contain a cross-site script…5.4
- CVE-2026-40029parseusbs before 1.9 contains an OS command injection vulner…7.8
- CVE-2026-4003The Users manager – PN plugin for WordPress is vulnerable to…9.8
- CVE-2026-40030parseusbs before 1.9 contains an OS command injection vulner…8.4
- CVE-2026-40031MemProcFS before 5.17 contains multiple unsafe library-loadi…8.5
- CVE-2026-40032UAC (Unix-like Artifacts Collector) before 3.3.0-rc1 contain…8.5
- CVE-2026-40034gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix bef…8.5
- CVE-2026-40035Unfurl through 2025.08 contains an improper input validation…9.3
- CVE-2026-40036Unfurl before 2026.04 contains an unbounded zlib decompressi…8.7
- CVE-2026-40037OpenClaw before 2026.3.31 (patched in 2026.4.8) contains a r…7.1
- CVE-2026-40038Pachno 1.0.6 contains a stored cross-site scripting vulnerab…7.2
- CVE-2026-40039Pachno 1.0.6 contains an open redirection vulnerability that…7.1
Are you affected by CVE-2026-40033?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
