{"id":"CVE-2026-63652","summary":"FreeRDP: Double-free of `client_formats` in the rdpsnd server channel on a malformed Client Audio Formats PDU","details":"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-\u003eclient_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.","aliases":["GHSA-9g22-w2gr-vcmp"],"modified":"2026-08-21T08:19:13.922826Z","published":"2026-08-19T17:59:07.480Z","related":["openSUSE-SU-2026:11385-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-415"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63652.json"},"references":[{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/releases/tag/3.28.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63652.json"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9g22-w2gr-vcmp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63652"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/caf653c0ba1c75ec8f298d1baa59770102a5d14c"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/pull/12993"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"0"},{"fixed":"caf653c0ba1c75ec8f298d1baa59770102a5d14c"},{"fixed":"5370fb26fbf034ecd11d3026b6ad639b5fff493f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.28.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["3.5.1","3.5.0","3.4.0","3.3.0","3.2.0","3.1.0","3.0.0","3.0.0-rc0","3.0.0-beta4","3.0.0-beta3","3.0.0-beta2","3.0.0-beta1","2.0.0","2.0.0-rc4","2.0.0-rc3","2.0.0-rc2","2.0.0-rc1","2.0.0-rc0","2.0.0-beta1+android11","2.0.0-beta1+android10","1.2.0-beta1+android9","1.2.0-beta1+android7","1.1.0-beta+2013071101","1.1.0-beta1+ios4","1.1.0-beta1+android5","1.1.0-beta1+android4","1.1.0-beta1+ios3","1.1.0-beta1+ios2","1.1.0-beta1+android3","1.1.0-beta1+android2","1.1.0-beta1+ios1","1.1.0-beta1","1.0.1","1.0.0","1.0-beta5","1.0-beta4","1.0-beta2","1.0-beta1"],"database_specific":{"vanir_signatures_modified":"2026-08-21T08:19:13Z","vanir_signatures":[{"deprecated":false,"digest":{"length":446,"function_hash":"17760755864182547232931268987016362264"},"id":"CVE-2026-63652-23318b48","signature_type":"Function","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/caf653c0ba1c75ec8f298d1baa59770102a5d14c","target":{"file":"channels/rdpsnd/server/rdpsnd_main.c","function":"rdpsnd_server_context_free"}},{"deprecated":false,"digest":{"function_hash":"277943994472165369575933298658332714041","length":2667},"id":"CVE-2026-63652-2cd7f289","signature_type":"Function","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/caf653c0ba1c75ec8f298d1baa59770102a5d14c","target":{"file":"channels/rdpsnd/server/rdpsnd_main.c","function":"rdpsnd_server_recv_formats"}},{"digest":{"line_hashes":["334669807309478613198845761462950816068","276999206855571673905979515168474593113","291523944581916482891999265918564281342","44528821447135167121039022453698091058","247176398574807929920499706160156316383","172597377618828621846808891624245116804","180745758440760175446264049214896324379","319772575185831689226337837334763744868","265909115668354887331322628157633413212","19907247233359616883995840068904228788","98041849989006099806625093196734379127"],"threshold":0.9},"id":"CVE-2026-63652-c49c7a41","signature_type":"Line","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/caf653c0ba1c75ec8f298d1baa59770102a5d14c","target":{"file":"channels/rdpsnd/server/rdpsnd_main.c"},"deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63652.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}