Bug 2567629 (CVE-2026-121958)

Summary: CVE-2026-121958 freerdp: FreeRDP: Heap-based buffer overflow via surface key truncation in RDPGFX
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in FreeRDP. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) or potentially execute arbitrary code on the client system. An attacker operating a malicious Remote Desktop Protocol (RDP) server, or acting in a man-in-the-middle position, can exploit this issue by sending specially crafted graphics pipeline commands. This occurs due to improper surface key truncation, causing an internal table to become inconsistent and triggering a heap-based buffer overflow when data is written past allocated memory boundaries.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2568296, 2568300    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-05 22:13:19 UTC
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.