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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-415 — CWE-415: Double Free
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.28.0 |
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9g22-w2gr-vcmp (x_refsource_CONFIRM)
- https://github.com/FreeRDP/FreeRDP/pull/12993 (x_refsource_MISC)
- https://github.com/FreeRDP/FreeRDP/commit/caf653c0ba1c75ec8f298d1baa59770102a5d14c (x_refsource_MISC)
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0 (x_refsource_MISC)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.