Heap-based Buffer Overflow Affecting freerdp package, versions <2:2.11.7-7.el8_10


Severity

Recommended
high

Based on AlmaLinux security rating.

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-ALMALINUX8-FREERDP-16114969
  • published21 Apr 2026
  • disclosed16 Apr 2026

Introduced: 16 Apr 2026

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

How to fix?

Upgrade AlmaLinux:8 freerdp to version 2:2.11.7-7.el8_10 or higher.
This issue was patched in ALSA-2026:8945.

NVD Description

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

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in resize_vbar_entry() in libfreerdp/codec/clear.c, vBarEntry->size is updated to vBarEntry->count before the winpr_aligned_recalloc() call. If realloc fails, size is inflated while pixels still points to the old, smaller buffer. On a subsequent call where count <= size (the inflated value), realloc is skipped. The caller then writes count * bpp bytes of attacker-controlled pixel data into the undersized buffer, causing a heap buffer overflow. This issue has been patched in version 3.24.2.

CVSS Base Scores

version 3.1