What’s Vulnerable › Vulnerabilities

CVE-2026-25955: FreeRDP has heap-use-after-free in xf_AppUpdateWindowFromSurface (stale XImage)

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_AppUpdateWindowFromSurface` reuses a cached `XImage` whose `data` pointer references a freed RDPGFX surface buffer, because `gdi_DeleteSurface` frees `surface->data` without invalidating the `appWindow->image` that aliases it. Version 3.23.0 fixes the issue.

Affected products

How to fix

Upgrade to a fixed version: FreeRDP 3.23.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-25955 or the next vulnerability affects your stack