{"id":"CVE-2026-55194","aliases":["CVE-2026-55194"],"related":[],"kind":"vulnerability","state":"published","title":"FreeRDPHeap-buffer-overflow write in TS Gateway RPC RESPONSE reassembly due to alloc_hint capacity mismatch","summary":"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->s buffer. This can crash the client and may permit code execution through heap corruption. This issue is fixed in version 3.27.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->s buffer. This can crash the client and may permit code execution through heap corruption. This issue is fixed in version 3.27.0.","source":"cvelist"},{"lang":"es","text":"FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.27.0, rpc_client_recv_fragment en libfreerdp/core/gateway/rpc_client.c asegura la capacidad del flujo de reensamblaje de la respuesta utilizando solo el alloc_hint declarado por el servidor en lugar del StubLength real que está a punto de escribirse. Una puerta de enlace TS maliciosa puede enviar un PTYPE_RESPONSE con un alloc_hint pequeño y un frag_length mucho mayor, haciendo que Stream_Write copie datos stub controlados por el atacante más allá del búfer pdu  ->  s de 4096 bytes. Esto puede bloquear al cliente y puede permitir la ejecución de código a través de la corrupción de la pila. Este problema se solucionó en la versión 3.27.0.","source":"nvd"}],"published":"2026-08-19T17:50:30.158Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"version":"< 3.27.0","status":"affected"}],"vendor":"FreeRDP","product":"FreeRDP","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.27.0"}],"vendor":"freerdp","product":"freerdp","cpe":"cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9gxm-3mf5-f5cx","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/pull/12873","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-21T03:55:49.884Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55194","url":"https://www.cve.org/CVERecord?id=CVE-2026-55194","licence":"CVE Terms of Use","modified":"2026-08-27T16:25:00.719Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55194","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55194","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:33.990Z","epss":{"score":0.00619,"percentile":0.51007,"date":"2026-12-01T12:00:22.000Z"}}