CVE-2026-31884: FreeRDP has a division-by-zero in ADPCM decoders when `nBlockAlign` is 0

Published Mar 13, 2026
·
Updated

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 % blocksize where blocksize = 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.

Affected Software

18 affected componentsFixes available
FreeRDP freerdp<3.24.0
FreeRDP freerdp<3.24.0
ubuntu/freerdp*
ubuntu/freerdp2*
ubuntu/freerdp*
ubuntu/freerdp2*
ubuntu/freerdp2*
ubuntu/freerdp3<3.30.0+dfsg-0ubuntu0.24.04.1
3.30.0+dfsg-0ubuntu0.24.04.1
ubuntu/freerdp2*
ubuntu/freerdp3*
alpine/freerdp<3.24.0-r0
3.24.0-r0
alpine/freerdp<3.24.0-r0
3.24.0-r0
alpine/freerdp<3.24.0-r0
3.24.0-r0
debian/freerdp2<2.11.7+dfsg1-6~deb12u2
2.11.7+dfsg1-6~deb12u2
debian/freerdp3<3.15.0+dfsg-2.1+deb13u2
3.15.0+dfsg-2.1+deb13u2
debian/freerdp3<3.24.0+dfsg-1
3.24.0+dfsg-1
debian/freerdp2<=2.11.7+dfsg1-6~deb12u1
2.11.7+dfsg1-6~deb12u2
debian/freerdp3
3.15.0+dfsg-2.1+deb13u23.24.0+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.30.0+dfsg-0ubuntu0.24.04.1
  2. Upgrade

    Upgrade alpine/freerdp to a version that resolves this vulnerability.

    Fixed in 3.24.0-r0
  3. Upgrade

    Upgrade debian/freerdp2 to a version that resolves this vulnerability.

    Fixed in 2.11.7+dfsg1-6~deb12u2
  4. Upgrade

    Upgrade debian/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.15.0+dfsg-2.1+deb13u2
  5. Upgrade

    Upgrade debian/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.24.0+dfsg-1
  6. Upgrade

    Upgrade debian/freerdp3 to a version that resolves this vulnerability.

    Fixed in 3.15.0+dfsg-2.1+deb13u2Fixed in 3.24.0+dfsg-1
  7. Upgrade

    Upgrade FreeRDP to a version that resolves this vulnerability.

    Fixed in 3.24.0

Event History

Mar 13, 2026
CVE Published
via MITRE·05:36 PM
Data Sourced
via MITRE·05:36 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:04 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·07:54 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:54 PM
DescriptionSeverityWeakness
Mar 17, 2026
Data Sourced
via NVD·02:25 PM
RemedyAffected Software
Updated
via NVD·02:25 PM
Severity
Event
via NVD·02:25 PM
Mar 19, 2026
Event
via FIRST·12:00 AM
Dec 3, 2026
Updated
via OSV·11:33 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-31884?

CVE-2026-31884 is classified as a high severity vulnerability due to the potential for application crashes.

2

How do I fix CVE-2026-31884?

To fix CVE-2026-31884, update your FreeRDP software to version 3.24.0 or later.

3

What software is affected by CVE-2026-31884?

CVE-2026-31884 affects FreeRDP versions prior to 3.24.0.

4

What is the nature of the issue in CVE-2026-31884?

CVE-2026-31884 involves a division-by-zero error in ADPCM decoders when nBlockAlign is set to 0.

5

Can CVE-2026-31884 cause denial of service?

Yes, CVE-2026-31884 can lead to a denial of service by crashing the application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203