# CVE-2026-31883: FreeRDP has a \`size\_t\` underflow in ADPCM decoder leads to heap-buffer-overflow write

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-13 · Modified: 2026-03-16
- Aliases: UBUNTU-CVE-2026-31883, DEBIAN-CVE-2026-31883, ALPINE-CVE-2026-31883
- Record: https://cvemate.com/vulnerability/CVE-2026-31883 · JSON: https://cvemate.com/vulnerability/CVE-2026-31883/json

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, a size_t underflow in the IMA-ADPCM and MS-ADPCM audio decoders leads to heap-buffer-overflow write via the RDPSND audio channel. In libfreerdp/codec/dsp.c, the IMA-ADPCM and MS-ADPCM decoders subtract block header sizes from a size_t variable without checking for underflow. When nBlockAlign (received from the server) is set such that size % block_size == 0 triggers the header parsing at a point where size is smaller than the header (4 or 8 bytes), the subtraction wraps size to ~SIZE_MAX. The while (size > 0) loop then continues for an astronomical number of iterations. This vulnerability is fixed in 3.24.0.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.36%, percentile 31.767%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.24.0-r0
- debian freerdp2 (Debian): All versions (No fix recorded) \| \< 2.11.7+dfsg1-6~deb12u2
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u2 \| \< 3.24.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.30.0+dfsg-0ubuntu0.24.04.1 \| All versions (No fix recorded)
- freerdp freerdp: \< 3.24.0

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-85x9-4xxp-xhm5>
- <https://github.com/FreeRDP/FreeRDP/commit/16df2300e1e3f5a51f68fb1626429e58b531b7c8>
- <https://ubuntu.com/security/CVE-2026-31883>
- <https://www.cve.org/CVERecord?id=CVE-2026-31883>
- <https://ubuntu.com/security/notices/USN-8561-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-31883>
- <https://security.alpinelinux.org/vuln/CVE-2026-31883>

---

Data as of 2026-12-06T06:45:00.220Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
