CVE-2026-31884 in Freerdp
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freerdp | Freerdp | < 3.24.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-31884 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-081040-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-03-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-369: CWE-369
Analysis AI-written, not human-reviewed
A division by zero vulnerability exists in FreeRDP versions prior to 3.24.0 in the MS-ADPCM and IMA-ADPCM decoders, which can lead to a crash when the nBlockAlign value is 0.
The vulnerability is triggered by a malicious server sending a Server Audio Formats PDU with nBlockAlign set to 0 on the RDPSND channel, causing a division by zero in the ADPCM decoders.
Questions
What is CVE-2026-31884?
A division by zero vulnerability exists in FreeRDP versions prior to 3.24.0 in the MS-ADPCM and IMA-ADPCM decoders, which can lead to a crash when the nBlockAlign value is 0.
What is the CVSS score for CVE-2026-31884?
CVE-2026-31884 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.6%.
Is CVE-2026-31884 actively exploited?
No confirmed active exploitation of CVE-2026-31884 as of 2026-09-25.
How do I remediate CVE-2026-31884?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-31884?
CVE-2026-31884 affects Freerdp Freerdp.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freerdp","product":"Freerdp","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.