Heap-based Buffer Overflow Affecting freerdp2-devel package, versions <2.11.7-150700.3.14.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES157-FREERDP2DEVEL-15915447
  • published6 Apr 2026
  • disclosed1 Apr 2026

Introduced: 1 Apr 2026

NewCVE-2026-31806  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 freerdp2-devel to version 2.11.7-150700.3.14.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp2-devel package and not the freerdp2-devel package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1