7.7high
FreeRDP: Heap buffer overflow in Opus audio decode (`freerdp_dsp_decode_opus` resizes the wrong stream) — server→client
- Severity
- 7.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.62% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.28.0, freerdp_dsp_decode_opus in libfreerdp/codec/dsp.c calls Stream_EnsureRemainingCapacity on context->common.buffer even though opus_decode writes decoded PCM into the caller-supplied out stream. A malicious RDP server that negotiates WAVE_FORMAT_OPUS with a client built with WITH_OPUS enabled and WITH_DSP_FFMPEG disabled can make libopus write a large decoded frame beyond the 4096-byte StreamPool_Take destination used by channels/rdpsnd/client/rdpsnd_main.c. This can corrupt the client heap, crash the client, and may permit code execution. This issue is fixed in version 3.28.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeRDP FreeRDP | < 3.28.0, before 3.28.0 | CVE List, NVD |
All scores
| GitHub_M | 7.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.28.0, freerdp_dsp_decode_opus in libfreerdp/codec/dsp.c calls Stream_EnsureRemainingCapacity on context->common.buffer even though opus_decode writes decoded PCM into the caller-supplied out stream. A malicious RDP server that negotiates WAVE_FORMAT_OPUS with a client built with WITH_OPUS enabled and WITH_DSP_FFMPEG disabled can make libopus write a large decoded frame beyond the 4096-byte StreamPool_Take destination used by channels/rdpsnd/client/rdpsnd_main.c. This can corrupt the client heap, crash the client, and may permit code execution. This issue is fixed in version 3.28.0.
NVD (es)
FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.28.0, freerdp_dsp_decode_opus en libfreerdp/codec/dsp.c llama a Stream_EnsureRemainingCapacity en context -> common.buffer a pesar de que opus_decode escribe PCM decodificado en el flujo de salida proporcionado por el llamador. Un servidor RDP malicioso que negocia WAVE_FORMAT_OPUS con un cliente compilado con WITH_OPUS habilitado y WITH_DSP_FFMPEG deshabilitado puede hacer que libopus escriba un marco decodificado grande más allá del destino StreamPool_Take de 4096 bytes utilizado por channels/rdpsnd/client/rdpsnd_main.c. Esto puede corromper el heap del cliente, bloquear el cliente y puede permitir la ejecución de código. Este problema está solucionado en la versión 3.28.0.
References
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-72j9-356v-88xq | exploit, mitigation, vendor-advisory | |
| https://github.com/FreeRDP/FreeRDP/pull/12993 | issue-tracking, patch | |
| https://github.com/FreeRDP/FreeRDP/commit/0ed1f95d36913581cf31124f94eb5843d4263eae | patch | |
| https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0 | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63633 changed 2026-08-27 | CVE Terms of Use |
| NVD | CVE-2026-63633 changed 2026-10-26 | Public domain |