Vulnerability · Published Mar 13, 2026 · Assigned by GitHub_M

CVE-2026-31884FreeRDP has a division-by-zero in ADPCM decoders when `nBlockAlign` is 0

Medium 6.5

In plain English

A medium-severity security flaw in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 74.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10freerdp2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux:8freerdp2:2.11.7-9.el8_10ALSA-2026:16019
AlmaLinux:9freerdp2:2.11.7-1.el9_7.7ALSA-2026:16482
AlmaLinux:9freerdp2:2.11.7-7.el9_8.3ALSA-2026:19358
AlmaLinux:10freerdp-devel2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux:8freerdp-devel2:2.11.7-9.el8_10ALSA-2026:16019
AlmaLinux:9freerdp-devel2:2.11.7-7.el9_8.3ALSA-2026:19358
AlmaLinux:9freerdp-devel2:2.11.7-1.el9_7.7ALSA-2026:16482
AlmaLinux:10freerdp-libs2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux:8freerdp-libs2:2.11.7-9.el8_10ALSA-2026:16019
AlmaLinux:9freerdp-libs2:2.11.7-7.el9_8.3ALSA-2026:19358
AlmaLinux:9freerdp-libs2:2.11.7-1.el9_7.7ALSA-2026:16482
AlmaLinux:10freerdp-server2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux:10libwinpr2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux:8libwinpr2:2.11.7-9.el8_10ALSA-2026:16019
AlmaLinux:9libwinpr2:2.11.7-1.el9_7.7ALSA-2026:16482
AlmaLinux:9libwinpr2:2.11.7-7.el9_8.3ALSA-2026:19358
AlmaLinux:10libwinpr-devel2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux:8libwinpr-devel2:2.11.7-9.el8_10ALSA-2026:16019
AlmaLinux:9libwinpr-devel2:2.11.7-7.el9_8.3ALSA-2026:19358
AlmaLinux:9libwinpr-devel2:2.11.7-1.el9_7.7ALSA-2026:16482
Alpine:v3.23freerdp3.24.0-r0ALPINE-CVE-2026-31884
Alpine:v3.24freerdp3.24.0-r0ALPINE-CVE-2026-31884
Debian:12freerdp2no fix listedDEBIAN-CVE-2026-31884
Debian:13freerdp33.15.0+dfsg-2.1+deb13u2DEBIAN-CVE-2026-31884
Debian:14freerdp33.24.0+dfsg-1DEBIAN-CVE-2026-31884
Rocky Linux:10freerdp2:3.10.3-12.el10_2.5RLSA-2026:19142
Rocky Linux:10freerdp2:3.10.3-5.el10_1.8RLSA-2026:16014
Rocky Linux:8freerdp2:2.11.7-9.el8_10RLSA-2026:16019
Rocky Linux:9freerdp2:2.11.7-7.el9_8.3RLSA-2026:19358
Rocky Linux:9freerdp2:2.11.7-1.el9_7.7RLSA-2026:16482
Ubuntu:22.04:LTSfreerdp2no fix listedUBUNTU-CVE-2026-31884
Ubuntu:24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1USN-8561-1
Ubuntu:24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-31884
Ubuntu:25.10freerdp3no fix listedUBUNTU-CVE-2026-31884
Ubuntu:26.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.26.04.1USN-8561-1

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP < 3.24.0

Weakness: CWE-369 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References