CVE-2026-121958

FreeRDP before 3.32.2 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys

Published Nov 4, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
FreeRDP before 3.32.2 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.

Analysis

AI-generated

Technical impact

FreeRDP prior to version 3.32.2 contains a heap out‑of‑bounds write in the RDPGFX client. The offender is the delete_surface callback, which truncates surface hash keys to 16 bits and leaves the surface table inconsistent. Consequently, the HashTable_GetKeys routine writes beyond the allocated key array. An attacker who can control or impersonate an RDP server can exploit this flaw by creating a surfaceId value of 0xFFFF, closing the RDPGFX channel, repeatedly sending DELETESURFACE PDUs, and then issuing either an ENDFRAME or a RESETGRAPHICS PDU. These actions trigger the out‑of‑bounds write, potentially corrupting memory and allowing arbitrary code execution inside the client process, thereby breaching confidentiality, integrity, and availability of the system running FreeRDP.

Affected Systems

The affected product is FreeRDP, specifically all releases up to and including 3.32.1. There is no further vendor or version granularity listed beyond the overall product name.

Risk and Exploitability

The CVSS score of 8.7 signals a high severity vulnerability, and the EPSS score of < 1% indicates a very low, yet non‑zero, likelihood of exploitation. The lack of a KEV listing does not diminish the risk. The vulnerability requires a malicious or compromised RDP server; therefore, the attack vector is remote via an RDP session. An attacker who controls the RDP server can potentially alter memory of the client and execute arbitrary code, making this a threat to any environment where untrusted RDP servers are connected to the client.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.32.2 or later, which includes the fix for the hash table out‑of‑bounds write.
  • If an immediate upgrade is not feasible, restrict RDP client usage to trusted servers and consider network segmentation to prevent exposure to untrusted RDP traffic.
  • As a short‑term measure, monitor RDP sessions for unusual DELETESURFACE and RESETGRAPHICS activity and apply host‑based intrusion detection rules to flag potential exploitation attempts.

Generated by OpenCVE AI on November 22, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description FreeRDP through 3.32.1 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS. FreeRDP before 3.32.2 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.
Title FreeRDP through 3.32.1 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys FreeRDP before 3.32.2 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description FreeRDP through 3.32.1 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.
Title FreeRDP through 3.32.1 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys
First Time appeared Freerdp
Freerdp freerdp
Weaknesses CWE-122
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Vendors & Products Freerdp
Freerdp freerdp
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 20, 2026, 2:31 PM
Reserved
Nov 4, 2026, 12:46 PM
Status
Modified
Published
Nov 4, 2026, 4:17 PM
Modified
Nov 20, 2026, 3:17 PM
Severity
Important
Public date
Nov 4, 2026, 3:33 PM