CVE-2026-63652
JSON

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

All scores

GitHub_M7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-415

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

Sources

SourceRecordLicence
CVE ListCVE-2026-63652 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-63652 changed 2026-10-26Public domain