CVE-2026-63633
JSON

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 packageVersionsReported by
FreeRDP FreeRDP< 3.28.0, before 3.28.0CVE List, NVD

All scores

GitHub_M7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122

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

Sources

SourceRecordLicence
CVE ListCVE-2026-63633 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-63633 changed 2026-10-26Public domain