CVE-2026-64621

HIGH

FreeRDP before 3.28.0 Double-Free via selectedmonitors

Title source: cna
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-f27x-frr8-j9hc)
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc
Third Party Advisory third-party-advisory
VulnCheck Advisory: FreeRDP before 3.28.0 Double-Free via selectedmonitors
https://www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitors

Scores

CVSS v3 7.3
EPSS 0.0030
EPSS Percentile 22.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-415
Status published
Products (3)
FreeRDP/FreeRDP < 3.28.0
freerdp/freerdp 3.0.0 - 3.28.0
FreeRDP/FreeRDP 3.28.0
Published Jul 20, 2026
Tracked Since Jul 20, 2026