Divide By Zero Affecting freerdp package, versions <3.24.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.03% (8th 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-ALPINE323-FREERDP-15674656
  • published17 Mar 2026
  • disclosed13 Mar 2026

Introduced: 13 Mar 2026

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

How to fix?

Upgrade Alpine:3.23 freerdp to version 3.24.0-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 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