CVE-2026-25955 MEDIUM

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

Vendor Freerdp
Product FreeRDP
Weakness CWE-416
Published February 25, 2026
Last update February 26, 2026

CVSS base score

5.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 25, 2026 CVE published
February 26, 2026 Record updated