PT-2026-61581 · Freerdp · Freerdp
CVSS v4.0
9.3
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
FreeRDP versions 3.x through 3.27.1
Description
A double-free issue exists in the
freerdp client rdp file apply to settings() function (located in client/common/file.c) when parsing the selectedmonitors field of a .rdp connection file. The MonitorIds array is allocated via the settings object, but a raw non-owning pointer to it is freed during a strtoul error path without clearing settings->MonitorIds. This leaves a dangling pointer, which is then freed again by freerdp settings free() during teardown. A remote attacker can trigger this size-controlled double-free in FreeRDP CLI clients such as xfreerdp, sdl-freerdp, or wlfreerdp by convincing a user to open a specially crafted .rdp file containing oversized monitor tokens.Recommendations
Update FreeRDP to version 3.28.0 or later.
Exploit
Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Freerdp