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

Published Feb 25, 2026
·
Updated

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

Affected Software

2 affected components
FreeRDP freerdp<3.23.0
FreeRDP freerdp<3.23.0

Event History

Feb 25, 2026
CVE Published
via MITRE·08:32 PM
Data Sourced
via MITRE·08:32 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 15, 58131
Event
via FIRST·06:36 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-25955?

CVE-2026-25955 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2026-25955?

To fix CVE-2026-25955, upgrade FreeRDP to version 3.23.0 or later.

3

What are the potential risks of CVE-2026-25955?

The potential risks of CVE-2026-25955 include application crashes and possible remote code execution due to improper memory handling.

4

Is my version of FreeRDP affected by CVE-2026-25955?

Any version of FreeRDP prior to 3.23.0 is affected by CVE-2026-25955.

5

What does CVE-2026-25955 affect specifically in FreeRDP?

CVE-2026-25955 affects the `xf_AppUpdateWindowFromSurface` function, which improperly handles memory for RDPGFX surface buffers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203