{"id":"CVE-2026-55193","summary":"FreeRDP: Heap-buffer-overflow write in TS Gateway RPC fragment receive due to uncapped bind_ack max_xmit_frag","details":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, FreeRDP clients using TS Gateway accept a server-controlled max_xmit_frag value in libfreerdp/core/gateway/rpc_bind.c without bounding it to the 4088-byte ReceiveFragment allocation. A malicious gateway can advertise 65535 and then send a response fragment of the same length, causing rpc_channel_read in libfreerdp/core/gateway/rpc.c to write up to 65535 bytes into the smaller ReceiveFragment buffer. This can crash the client and may permit code execution through attacker-controlled heap corruption. This issue is fixed in version 3.27.0.","aliases":["GHSA-7rp4-66mc-j9vx"],"modified":"2026-08-22T10:47:46.549249Z","published":"2026-08-19T17:46:39.233Z","related":["openSUSE-SU-2026:11065-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55193.json"},"references":[{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55193.json"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7rp4-66mc-j9vx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55193"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/a863ef1cf1cdabf9019280e5658f806e73bb50e8"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/pull/12873"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"0"},{"fixed":"a863ef1cf1cdabf9019280e5658f806e73bb50e8"},{"fixed":"4f72b0979892352ff501e84d99832dc3bdc86a53"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.27.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":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-55193.json","vanir_signatures_modified":"2026-08-22T10:47:46Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/a863ef1cf1cdabf9019280e5658f806e73bb50e8","target":{"file":"libfreerdp/core/gateway/rpc_bind.c"},"deprecated":false,"digest":{"line_hashes":["89498076570549038054820839601572047331","215522716250580204425442577755748005515","179948923025444307034318410708490098313"],"threshold":0.9},"id":"CVE-2026-55193-01e3c0b8"},{"digest":{"function_hash":"154363947889425953628178337097873855346","length":1118},"id":"CVE-2026-55193-8da41c59","signature_type":"Function","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/a863ef1cf1cdabf9019280e5658f806e73bb50e8","target":{"function":"rpc_recv_bind_ack_pdu","file":"libfreerdp/core/gateway/rpc_bind.c"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}