---
id: CVE-2026-121964
title: FreeRDP before 3.32.2 Heap Buffer Overflow via rpc_client_recv_fragment
summary: >-
  FreeRDP before 3.32.2 contains a heap-based buffer overflow in the RD Gateway
  RPC client, where rpc_client_recv_fragment writes BIND_ACK and
  ALTER_CONTEXT_RESP fragments into a persistent PDU stream after checking only
  total capacity rat…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-122
vendor: FreeRDP
product: FreeRDP
affected:
  - FreeRDP < 3.32.2
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-04T18:19:24.938880Z'
exploitAvailable: true
published: '2026-11-04'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T18:19:51.931Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-121964'
references:
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q82v-5wjg-6h57'
    label: GitHub Security Advisory (GHSA-q82v-5wjg-6h57)
  - url: >-
      https://www.vulncheck.com/advisories/freerdp-before-3.32.2-heap-buffer-overflow-via-rpc-client-recv-fragment
    label: >-
      VulnCheck Advisory: FreeRDP before 3.32.2 Heap Buffer Overflow via
      rpc_client_recv_fragment
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-05T21:36:00.484Z'
epss: 0.00573
epssPercentile: 0.47585
---

## Overview

FreeRDP before 3.32.2 contains a heap-based buffer overflow in the RD Gateway RPC client, where rpc_client_recv_fragment writes BIND_ACK and ALTER_CONTEXT_RESP fragments into a persistent PDU stream after checking only total capacity rather than remaining capacity from the current stream position. A malicious or compromised RD Gateway can send crafted RPC fragments with manipulated alloc_hint and frag_length values to overwrite client heap memory with attacker-controlled data, causing a crash or potentially arbitrary code execution.

## Affected

- `FreeRDP < 3.32.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
