CVE Vulnerabilities

CVE-2026-31884

Divide By Zero

Published: Mar 13, 2026 | Modified: Jun 17, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product divides a value by zero.

Affected Software

NameVendorStart VersionEnd Version
FreerdpFreerdp*3.24.0 (excluding)
Red Hat Enterprise Linux 10RedHatfreerdp-2:3.10.3-5.el10_1.8*
Red Hat Enterprise Linux 10RedHatfreerdp-2:3.10.3-12.el10_2.5*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatfreerdp-2:3.10.3-3.el10_0.7*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatfreerdp-0:2.1.1-5.el7_9.9*
Red Hat Enterprise Linux 8RedHatfreerdp-2:2.11.7-9.el8_10*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatfreerdp-2:2.2.0-14.el8_4*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatfreerdp-2:2.2.0-14.el8_4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatfreerdp-2:2.2.0-7.el8_6.8*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatfreerdp-2:2.2.0-7.el8_6.8*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatfreerdp-2:2.2.0-7.el8_6.8*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatfreerdp-2:2.2.0-12.el8_8.8*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatfreerdp-2:2.2.0-12.el8_8.8*
Red Hat Enterprise Linux 9RedHatfreerdp-2:2.11.7-1.el9_7.7*
Red Hat Enterprise Linux 9RedHatfreerdp-2:2.11.7-7.el9_8.3*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatfreerdp-2:2.4.1-3.el9_0.7*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatfreerdp-2:2.4.1-6.el9_2.9*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatfreerdp-2:2.11.2-1.el9_4.8*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatfreerdp-2:2.11.7-1.el9_6.10*
FreerdpUbuntuesm-infra/xenial*
Freerdp3Ubuntunoble*
Freerdp3Ubuntuquesting*
Freerdp3Ubuntuupstream*

References