Heap-based Buffer Overflow Affecting freerdp-server package, versions <2:3.6.3-1.amzn2023.0.13


Severity

Recommended
high

Based on Amazon Linux security rating.

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-AMZN2023-FREERDPSERVER-18531379
  • published5 Aug 2026
  • disclosed19 Aug 2026

Introduced: 5 Aug 2026

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

How to fix?

Upgrade Amazon-Linux:2023 freerdp-server to version 2:3.6.3-1.amzn2023.0.13 or higher.
This issue was patched in ALAS2023-2026-2012.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, FreeRDP clients that negotiate RDPGFX AVC444 with an H.264 decoder backend calculate the intermediate YUV444 allocation size in libfreerdp/codec/h264.c with 32-bit multiplication in avc444_ensure_buffer. A malicious RDP server can supply surface dimensions for which piDstStride multiplied by padDstHeight wraps to a small nonzero value, causing winpr_aligned_recalloc to allocate an undersized buffer before YUV420CombineToYUV444 writes using the actual stride and rectangle dimensions. This can cause a client crash and may permit code execution through attacker-influenced heap corruption. This issue is fixed in version 3.27.0.