CVE-2026-31806: Vulnerability in Freerdp

Critical. 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...

CWE-122, CWE-131

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.7 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

EU ID
EUVD-2026-12060
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-122, CWE-131
Published
13 Mar 2026
Last change
15 Jul 2026
Likelihood rank
Higher than 56 % of all rated vulnerabilities
Analysis status
Modified

Affected products

Affected versions and the first fixed release

  • Freerdp Before 3.24.0. Fixed in 3.24.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related