{"id":"CVE-2026-31884","published":"2026-03-13T17:36:57Z","modified":"2026-03-16T15:33:42Z","title":"FreeRDP has a division-by-zero in ADPCM decoders when `nBlockAlign` is 0","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00577,"percentile":0.41446,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-jp7m-94ww-p56r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/03b48b3601d867afccac1cdc6081de7a275edce7","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/16df2300e1e3f5a51f68fb1626429e58b531b7c8","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.29},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["< 3.24.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-16T15:33:39.561333Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-12062","exploited":false,"provenance":"source"}}