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_Ensur...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSfreerdp |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSfreerdp2 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSfreerdp |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSfreerdp2 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSfreerdp3 |
< 3.30.0+dfsg-0ubuntu0.24.04.1→ 3.30.0+dfsg-0ubuntu0.24.04.1 |
3.30.0+dfsg-0ubuntu0.24.04.1 |
| Ubuntu:Pro:24.04:LTSfreerdp2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSfreerdp3 |
< 3.30.0+dfsg-0ubuntu0.26.04.1→ 3.30.0+dfsg-0ubuntu0.26.04.1 |
3.30.0+dfsg-0ubuntu0.26.04.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org