CVE-2026-31806: FreeRDP is a free implementation of the Remote Desktop Protocol
CVE-2026-31806 is a critical-severity flaw (CVSS 9.8) affecting freerdp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, the gdi_surface_bits() function processes SURFACE_BITS_COMMAND messages sent by the RDP server. When the command is handled using NSCodec, the bmp.width and bmp.height values provided by the server are not properly validated against the actual desktop dimensions. A malicious RDP server can supply crafted bmp.width and bmp.height values that exceed the expected surf
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31806?
freerdp: upgrade to 3.24.0. Exact commands for each OS are on this page.
Is CVE-2026-31806 being exploited?
CVE-2026-31806 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31806 affect?
CVE-2026-31806 affects freerdp. Severity is critical (CVSS 9.8). FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, the gdi_surface_bits() function processes SURFACE_BITS_COMMAND messages sent by the RDP server. When the command is handled using NSCodec, the bmp.width and
How urgent is CVE-2026-31806?
Priority 60/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-111379 HIGH 7.3 UPGRADE FreeRDP before 3.32.0 contains a heap buffer overflow vulnerability in persistent_cache_read_entry_v3 that all
- CVE-2026-109256 MEDIUM 5.3 UPGRADE FreeRDP 3.10.0 through 3.32.2 contains a heap buffer overflow in the WinPR png_write_data callback that writes
- CVE-2026-109257 MEDIUM 5.9 DOWNGRADE FreeRDP before 3.32.0 contains a double-free vulnerability in nsc_context_initialize_encode() that leaves dang
- CVE-2026-109940 MEDIUM 4.3 UPGRADE FreeRDP 3.0.0-beta1 before 3.32.0 on Unix builds with PKCS#11 support has a stack-based buffer overflow in wpr
- CVE-2026-109939 MEDIUM 6.5 UPGRADE FreeRDP 3.27.1 before 3.32.0 contains a NULL pointer dereference in update_read_cache_bitmap_v3_order() in lib