CVE-2026-31806

Severity: Important
Published: 2026-03-13

Fix Status by Distribution

Fixed in 19 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-26 15:27 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
Debian 11 (Bullseye)
Debian 12 (Bookworm)
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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 surface size. Because these values are used during bitmap decoding and memory operations without proper bounds checking, this can lead to a heap buffer overflow. Since the attacker can also control the associated pixel data transmitted by the server, the overflow may be exploitable to overwrite adjacent heap memory. This vulnerability is fixed in 3.24.0.

Exploit evidence

Public exploit evidence reported

Last checked: 2026-07-31 19:15 UTC

NVD evidence for CVE-2026-31806 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.