{"id":"CVE-2026-25955","published":"2026-02-25T20:32:42Z","modified":"2026-02-26T15:54:09Z","title":"FreeRDP has heap-use-after-free in xf_AppUpdateWindowFromSurface (stale XImage)","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00584,"percentile":0.4881,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g54-x8v7-559x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/169d358734509e82663a0d6a0085ae726d439d8e","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1484-L1492","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1494-L1500","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1528","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/libfreerdp/gdi/gfx.c#L1224-L1227","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":9.76},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["< 3.23.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-26T15:54:03.703745Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-8735","exploited":false,"provenance":"source"}}