CVE-2026-31884

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductFreerdp
PublishedMar 13, 2026
First seenMar 13, 2026
Weakness typeCWE-369CWE-369

How to fix

Update
  • freerdp freerdp3.24.0 or later

Affected products

ProductAffected versionsFixed in
freerdp freerdpv < 3.24.03.24.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.