Use After Free in Freerdp
CVE-2026-67299
FreeRDP before 3.29.0 contains a client-side heap use-after-free in the async update message proxy for WINDOW_ICON_ORDER when AsyncUpdate is enabled (e.g. xfreerdp /async-update). In update_message_WindowIcon() a shallow CopyMemory() overwrites a freshly allocated lParam->iconInfo with the parser-owned windowIcon->iconInfo pointer. After the parser callback returns, update_recv_window_info_order() frees window_icon.iconInfo, but the queued async message still retains and later dispatches that stale pointer. A malicious or compromised RDP server sending a crafted RAIL Window Alternate Secondary Order with WINDOW_ORDER_ICON can trigger use-after-free, leading to memory corruption and client crash.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 34.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions 0, 3.29.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-34hq-hwjw-q8v3) (vendor-advisory, Exploit, Vendor Advisory)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: FreeRDP before 3.29.0 Use-After-Free via WindowIcon async message (Patch, Third Party Advisory, third-party-advisory)