Bug 2447385 (CVE-2026-31884)

Summary: CVE-2026-31884 freerdp: FreeRDP has a division-by-zero in ADPCM decoders when `nBlockAlign` is 0
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A division by zero flaw has been discovered in FreeRDP. This division by zero exists in the 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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2447422, 2447430, 2447419    
Bug Blocks:    

Description OSIDB Bzimport 2026-03-13 18:04:22 UTC
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.

Comment 2 errata-xmlrpc 2026-05-11 16:15:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:16014 https://access.redhat.com/errata/RHSA-2026:16014

Comment 3 errata-xmlrpc 2026-05-11 16:18:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:16019 https://access.redhat.com/errata/RHSA-2026:16019

Comment 4 errata-xmlrpc 2026-05-12 23:24:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:16483 https://access.redhat.com/errata/RHSA-2026:16483

Comment 5 errata-xmlrpc 2026-05-12 23:24:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2026:16485 https://access.redhat.com/errata/RHSA-2026:16485

Comment 6 errata-xmlrpc 2026-05-13 00:56:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:16482 https://access.redhat.com/errata/RHSA-2026:16482

Comment 7 errata-xmlrpc 2026-05-13 04:38:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:16777 https://access.redhat.com/errata/RHSA-2026:16777

Comment 8 errata-xmlrpc 2026-05-13 05:49:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2026:16814 https://access.redhat.com/errata/RHSA-2026:16814

Comment 9 errata-xmlrpc 2026-05-13 06:38:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2026:16866 https://access.redhat.com/errata/RHSA-2026:16866

Comment 10 errata-xmlrpc 2026-05-13 06:48:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:16865 https://access.redhat.com/errata/RHSA-2026:16865

Comment 11 errata-xmlrpc 2026-05-19 16:08:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:19142 https://access.redhat.com/errata/RHSA-2026:19142

Comment 12 errata-xmlrpc 2026-05-19 21:40:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:19358 https://access.redhat.com/errata/RHSA-2026:19358

Comment 13 errata-xmlrpc 2026-05-20 19:42:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:19811 https://access.redhat.com/errata/RHSA-2026:19811

Comment 14 errata-xmlrpc 2026-05-26 01:54:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:20546 https://access.redhat.com/errata/RHSA-2026:20546

Comment 15 errata-xmlrpc 2026-05-26 04:54:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:20605 https://access.redhat.com/errata/RHSA-2026:20605