{"id":"CVE-2026-55194","summary":"FreeRDPHeap-buffer-overflow write in TS Gateway RPC RESPONSE reassembly due to alloc_hint capacity mismatch","details":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, rpc_client_recv_fragment in libfreerdp/core/gateway/rpc_client.c ensures the response reassembly stream capacity using only the server-declared alloc_hint rather than the actual StubLength about to be written. A malicious TS Gateway can send a PTYPE_RESPONSE with a small alloc_hint and a much larger frag_length, causing Stream_Write to copy attacker-controlled stub data beyond the 4096-byte pdu-\u003es buffer. This can crash the client and may permit code execution through heap corruption. This issue is fixed in version 3.27.0.","aliases":["GHSA-9gxm-3mf5-f5cx"],"modified":"2026-08-22T09:15:53.139545Z","published":"2026-08-19T17:50:30.158Z","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-55194.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-55194.json"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9gxm-3mf5-f5cx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55194"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/pull/12873"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"0"},{"fixed":"9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a"},{"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":{"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["178510192357835021182886470464668505071","73936715673119495677840681230376896265","71930401595413333098315436948347594673","95940893810588781744795948095168522052","177050960455318019392090781318789744406","1078681452064175979724685006099529781","133773356675214392750781620685349889480","78705006034271179210494860229307780015","180616081882380445865608002401092912436","310854541341129349171443722687814404932","94454634107366071276258210261192012345","190406985373554307283759968269003017916","192043960921597330402563010496303599862","289476144386985665242098884676890961039","251726426713813216121392694793098835002","189399201384041370955017474398983372256"],"threshold":0.9},"id":"CVE-2026-55194-1135be41","signature_type":"Line","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a","target":{"file":"libfreerdp/core/gateway/rpc_client.c"}},{"signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a","target":{"file":"libfreerdp/core/gateway/rpc_client.c","function":"rpc_client_recv_fragment"},"deprecated":false,"digest":{"function_hash":"268686869839184305443410432979742499577","length":4277},"id":"CVE-2026-55194-434a0f63","signature_type":"Function"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55194.json","vanir_signatures_modified":"2026-08-22T09:15:53Z"}}],"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"}]}