All reports
Medium

freerdp: freerdp: Denial of Service via heap out-of-bounds write in planar codec

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-121954

Probability of exploitation in the next 30 days: 0.35%

FIRST EPSS · 2026-11-21

Description

FreeRDP before 3.32.2 has a heap out-of-bounds write in the planar codec because freerdp_bitmap_planar_context_reset commits new dimensions before buffer reallocation succeeds, and a failed ResetGraphics is only logged. A malicious RDP server can send an oversized ResetGraphics PDU, then a GFX PLANAR command, to corrupt client heap memory and crash the client.

A flaw was found in FreeRDP. A malicious Remote Desktop Protocol (RDP) server can cause a Denial of Service (DoS) and heap memory corruption on the connecting client. This issue occurs in the planar graphics codec because new display dimensions are applied before memory buffer reallocation succeeds. When reallocation fails, the context is not rolled back, allowing subsequent planar drawing commands to write beyond the allocated buffer boundaries and crash the client.