CVE-2026-25955 - Vulnerability Analysis
CriticalCVSS: 9.8Last Updated: February 27, 2026
FreeRDP - Use After Free
Published: February 25, 2026Updated: February 27, 2026PoC AvailableRemote Exploitable
Overview
FreeRDP < 3.23.0 contains a use-after-free vulnerability caused by reuse of a cached XImage referencing a freed RDPGFX surface buffer in xf_AppUpdateWindowFromSurface, letting attackers cause memory corruption, exploit requires crafted RDP session.
Severity & Score
Severity: Critical
CVSS Score: 9.8
Impact
Attackers can cause memory corruption leading to potential remote code execution or denial of service.
Mitigation
Upgrade to version 3.23.0 or later.
References
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1494-L1500
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1528
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/libfreerdp/gdi/gfx.c#L1224-L1227
- https://github.com/FreeRDP/FreeRDP/commit/169d358734509e82663a0d6a0085ae726d439d8e
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g54-x8v7-559x
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1484-L1492
Related Resources
Details
- CVE ID
- CVE-2026-25955
- Severity
- Critical
- CVSS Score
- 9.8
- Type
- use_after_free
- Status
- confirmed
CWE
- CWE-416
CVSS Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H