Heap-based Buffer Overflow Affecting freerdp package, versions <3.24.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (14th 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-ALPINE323-FREERDP-15805130
  • published29 Mar 2026
  • disclosed30 Mar 2026

Introduced: 29 Mar 2026

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

How to fix?

Upgrade Alpine:3.23 freerdp to version 3.24.2-r0 or higher.

NVD Description

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

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in yuv_ensure_buffer() in libfreerdp/codec/h264.c, h264->width and h264->height are updated before the reallocation loop. If any winpr_aligned_recalloc() call fails, the function returns FALSE but width/height are already inflated. This issue has been patched in version 3.24.2.

CVSS Base Scores

version 3.1