CVE-2026-121958

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*

History

20 Nov 2026, 15:17

Type Values Removed Values Added
Summary (en) 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. (en) 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.

05 Nov 2026, 19:23

Type Values Removed Values Added
CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
First Time Freerdp
Freerdp freerdp
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57 - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57 - Exploit, Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/freerdp-through-3.32.1-heap-out-of-bounds-write-via-rdpgfx-hashtable-getkeys - () https://www.vulncheck.com/advisories/freerdp-through-3.32.1-heap-out-of-bounds-write-via-rdpgfx-hashtable-getkeys - Third Party Advisory

04 Nov 2026, 19:17

Type Values Removed Values Added
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57 - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57 -

04 Nov 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-04 16:17

Updated : 2026-11-20 15:17


NVD link : CVE-2026-121958

Mitre link : CVE-2026-121958

CVE.ORG link : CVE-2026-121958


JSON object : View

Products Affected

freerdp

  • freerdp
CWE
CWE-122

Heap-based Buffer Overflow