CVE-2026-31884FreeRDP has a division-by-zero in ADPCM decoders when `nBlockAlign` is 0
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | freerdp3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | freerdp3 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-31884 | |
| Ubuntu 24.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-31884 | |
| Ubuntu 24.04 | freerdp3 | Fixed | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-31884 |
| Ubuntu 22.04 | freerdp2 | Under investigation | UBUNTU-CVE-2026-31884 | |
| Ubuntu 20.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-31884 | |
| Ubuntu 18.04 | freerdp | Fix pending | UBUNTU-CVE-2026-31884 | |
| Ubuntu 18.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-31884 | |
| Ubuntu 16.04 | freerdp | Fix pending | UBUNTU-CVE-2026-31884 | |
| Debian 14 | freerdp3 | Fixed | 3.24.0+dfsg-1 | DEBIAN-CVE-2026-31884 |
| Debian 13 | freerdp3 | Fixed | 3.15.0+dfsg-2.1+deb13u2 | DEBIAN-CVE-2026-31884 |
| Debian 12 | freerdp2 | Fix pending | DEBIAN-CVE-2026-31884 | |
| Red Hat Enterprise Linux 10 | freerdp | Fixed | 2:3.10.3-5.el10_1.8 | RHSA-2026:19142 |
| Red Hat Enterprise Linux 10 | freerdp-devel | Fixed | 2:3.10.3-12.el10_2.5 | RHSA-2026:16014 |
| Red Hat Enterprise Linux 10 | freerdp-libs | Fixed | 2:3.10.3-5.el10_1.8 | RHSA-2026:19142 |
| Red Hat Enterprise Linux 10 | freerdp-server | Fixed | 2:3.10.3-5.el10_1.8 | RHSA-2026:19142 |
| Red Hat Enterprise Linux 10 | libwinpr | Fixed | 2:3.10.3-12.el10_2.5 | RHSA-2026:16014 |
| Red Hat Enterprise Linux 10 | libwinpr-devel | Fixed | 2:3.10.3-12.el10_2.5 | RHSA-2026:16014 |
| Red Hat Enterprise Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9_7.7 | RHSA-2026:19358 |
| Red Hat Enterprise Linux 9 | freerdp-devel | Fixed | 2:2.11.7-1.el9_7.7 | RHSA-2026:19358 |
| Red Hat Enterprise Linux 9 | freerdp-libs | Fixed | 2:2.11.7-7.el9_8.3 | RHSA-2026:16482 |
| Red Hat Enterprise Linux 9 | libwinpr | Fixed | 2:2.11.7-1.el9_7.7 | RHSA-2026:19358 |
| Red Hat Enterprise Linux 9 | libwinpr-devel | Fixed | 2:2.11.7-1.el9_7.7 | RHSA-2026:19358 |
| Red Hat Enterprise Linux 8 | freerdp | Fixed | 2:2.11.7-9.el8_10 | RHSA-2026:16019 |
| Red Hat Enterprise Linux 8 | freerdp-devel | Fixed | 2:2.11.7-9.el8_10 | RHSA-2026:16019 |
| Red Hat Enterprise Linux 8 | freerdp-libs | Fixed | 2:2.11.7-9.el8_10 | RHSA-2026:16019 |
| Red Hat Enterprise Linux 8 | libwinpr | Fixed | 2:2.11.7-9.el8_10 | RHSA-2026:16019 |
| Red Hat Enterprise Linux 8 | libwinpr-devel | Fixed | 2:2.11.7-9.el8_10 | RHSA-2026:16019 |
| Red Hat Enterprise Linux 6 | freerdp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | freerdp-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | freerdp-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | freerdp-plugins | Will not fix Will not fix | ||
| AlmaLinux 10 | freerdp | Fixed | 2:3.10.3-5.el10_1.8 | ALSA-2026:16014 |
| AlmaLinux 10 | freerdp-devel | Fixed | 2:3.10.3-5.el10_1.8 | ALSA-2026:16014 |
| AlmaLinux 10 | freerdp-libs | Fixed | 2:3.10.3-5.el10_1.8 | ALSA-2026:16014 |
| AlmaLinux 10 | freerdp-server | Fixed | 2:3.10.3-5.el10_1.8 | ALSA-2026:16014 |
| AlmaLinux 10 | libwinpr | Fixed | 2:3.10.3-5.el10_1.8 | ALSA-2026:16014 |
| AlmaLinux 10 | libwinpr-devel | Fixed | 2:3.10.3-5.el10_1.8 | ALSA-2026:16014 |
| AlmaLinux 9 | freerdp | Fixed | 2:2.11.7-1.el9_7.7 | ALSA-2026:19358 |
| AlmaLinux 9 | freerdp-devel | Fixed | 2:2.11.7-7.el9_8.3 | ALSA-2026:16482 |
| AlmaLinux 9 | freerdp-libs | Fixed | 2:2.11.7-7.el9_8.3 | ALSA-2026:16482 |
| AlmaLinux 9 | libwinpr | Fixed | 2:2.11.7-1.el9_7.7 | ALSA-2026:19358 |
| AlmaLinux 9 | libwinpr-devel | Fixed | 2:2.11.7-7.el9_8.3 | ALSA-2026:16482 |
| AlmaLinux 8 | freerdp | Fixed | 2:2.11.7-9.el8_10 | ALSA-2026:16019 |
| AlmaLinux 8 | freerdp-devel | Fixed | 2:2.11.7-9.el8_10 | ALSA-2026:16019 |
| AlmaLinux 8 | freerdp-libs | Fixed | 2:2.11.7-9.el8_10 | ALSA-2026:16019 |
| AlmaLinux 8 | libwinpr | Fixed | 2:2.11.7-9.el8_10 | ALSA-2026:16019 |
| AlmaLinux 8 | libwinpr-devel | Fixed | 2:2.11.7-9.el8_10 | ALSA-2026:16019 |
| Rocky Linux 10 | freerdp | Fixed | 2:3.10.3-5.el10_1.8 | RLSA-2026:19142 |
| Rocky Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9_7.7 | RLSA-2026:19358 |
| Rocky Linux 8 | freerdp | Fixed | 2:2.11.7-9.el8_10 | RLSA-2026:16019 |
| Alpine Linux 3.24 | freerdp | Fixed | 3.24.0-r0 | ALPINE-CVE-2026-31884 |
| Alpine Linux 3.23 | freerdp | Fixed | 3.24.0-r0 | ALPINE-CVE-2026-31884 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FreeRDP: affected: < 3.24.0
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-jp7m-94ww-p56r
- https://github.com/FreeRDP/FreeRDP/commit/03b48b3601d867afccac1cdc6081de7a275edce7
- https://github.com/FreeRDP/FreeRDP/commit/16df2300e1e3f5a51f68fb1626429e58b531b7c8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.