Divide By Zero Affecting freerdp package, versions <2:3.6.3-1.amzn2023.0.8


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (9th 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-AMZN2023-FREERDP-15921186
  • published7 Apr 2026
  • disclosed13 Mar 2026

Introduced: 13 Mar 2026

CVE-2026-31884  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

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

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp package and not the freerdp 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.24.0, division by zero in MS-ADPCM and IMA-ADPCM decoders when nBlockAlign is 0, leading to a crash. In libfreerdp/codec/dsp.c, both ADPCM decoders use size % block_size where block_size = context->common.format.nBlockAlign. The nBlockAlign value comes from the Server Audio Formats PDU on the RDPSND channel. The value 0 is not validated anywhere before reaching the decoder. When nBlockAlign = 0, the modulo operation causes a SIGFPE (floating point exception) crash. This vulnerability is fixed in 3.24.0.

CVSS Base Scores

version 3.1