7.1high
FreeRDP: Double-free of `client_formats` in the rdpsnd server channel on a malformed Client Audio Formats PDU
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.45% (higher than 40% 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, rdpsnd_server_recv_formats in channels/rdpsnd/server/rdpsnd_main.c frees context->client_formats on a malformed Client Audio Formats PDU without clearing the owning pointer or num_client_formats. An authenticated RDP client can trigger an error such as a cbSize larger than the remaining record, leave the dangling pointer in the server context, and cause rdpsnd_server_context_free to free the same allocation again at session teardown. This reliably terminates the server and can create allocator-dependent heap corruption. 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.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.28.0, rdpsnd_server_recv_formats in channels/rdpsnd/server/rdpsnd_main.c frees context->client_formats on a malformed Client Audio Formats PDU without clearing the owning pointer or num_client_formats. An authenticated RDP client can trigger an error such as a cbSize larger than the remaining record, leave the dangling pointer in the server context, and cause rdpsnd_server_context_free to free the same allocation again at session teardown. This reliably terminates the server and can create allocator-dependent heap corruption. 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, rdpsnd_server_recv_formats en channels/rdpsnd/server/rdpsnd_main.c libera context -> client_formats en una PDU de Formatos de Audio de Cliente malformada sin borrar el puntero propietario o num_client_formats. Un cliente RDP autenticado puede desencadenar un error como un cbSize mayor que el registro restante, dejar el puntero colgante en el contexto del servidor y hacer que rdpsnd_server_context_free libere la misma asignación de nuevo al finalizar la sesión. Esto termina de forma fiable el servidor y puede crear corrupción de pila dependiente del asignador. Este problema está solucionado en la versión 3.28.0.
References
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9g22-w2gr-vcmp | exploit, mitigation, vendor-advisory | |
| https://github.com/FreeRDP/FreeRDP/pull/12993 | issue-tracking, patch | |
| https://github.com/FreeRDP/FreeRDP/commit/caf653c0ba1c75ec8f298d1baa59770102a5d14c | patch | |
| https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0 | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63652 changed 2026-08-19 | CVE Terms of Use |
| NVD | CVE-2026-63652 changed 2026-10-26 | Public domain |