Heap-based Buffer Overflow Affecting freerdp-server package, versions <3.26.0-160000.1.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.04% (61st 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 IDSNYK-SLES1600-FREERDPSERVER-17439119
  • published24 Jun 2026
  • disclosed20 Jun 2026

Introduced: 20 Jun 2026

CVE-2026-40033  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 freerdp-server to version 3.26.0-160000.1.1 or higher.

NVD Description

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

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.

CVSS Base Scores

version 3.1