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


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.07% (21st 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-FREERDPDEVEL-16686844
  • published14 May 2026
  • disclosed11 May 2026

Introduced: 11 May 2026

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

How to fix?

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

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp-devel package and not the freerdp-devel 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 3.24.0, a size_t underflow in the IMA-ADPCM and MS-ADPCM audio decoders leads to heap-buffer-overflow write via the RDPSND audio channel. In libfreerdp/codec/dsp.c, the IMA-ADPCM and MS-ADPCM decoders subtract block header sizes from a size_t variable without checking for underflow. When nBlockAlign (received from the server) is set such that size % block_size == 0 triggers the header parsing at a point where size is smaller than the header (4 or 8 bytes), the subtraction wraps size to ~SIZE_MAX. The while (size > 0) loop then continues for an astronomical number of iterations. This vulnerability is fixed in 3.24.0.

CVSS Base Scores

version 3.1