CVE-2026-64621

FreeRDP before 3.28.0 (affected 3.x through 3.27.1) contains a double-free vulnerability in freerdp_client_rdp_file_apply_to_settings() (client/common/file.c) when parsing the selectedmonitors field of a .rdp connection file. The MonitorIds array is allocated through the settings object, and a raw non-owning pointer to it is freed on the strtoul error path without clearing settings->MonitorIds, leaving it dangling; at teardown freerdp_settings_free() frees the same buffer again. An attacker who convinces a victim to open a crafted .rdp file with oversized monitor tokens can trigger a size-controlled double-free in any FreeRDP CLI client (xfreerdp/sdl-freerdp/wlfreerdp) in the default configuration.
Configurations

Configuration 1 (hide)

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*

History

28 Jul 2026, 15:34

Type Values Removed Values Added
First Time Freerdp
Freerdp freerdp
References () https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef - () https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef - Patch
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc - Exploit, Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitors - () https://www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitors - Patch, Third Party Advisory
CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*

23 Jul 2026, 20:17

Type Values Removed Values Added
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc -

20 Jul 2026, 12:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-20 12:19

Updated : 2026-07-28 15:34


NVD link : CVE-2026-64621

Mitre link : CVE-2026-64621

CVE.ORG link : CVE-2026-64621


JSON object : View

Products Affected

freerdp

  • freerdp
CWE
CWE-415

Double Free