High severity7.3OSV Advisory· Published Jul 20, 2026· Updated Jul 28, 2026
CVE-2026-64621
CVE-2026-64621
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.
Affected products
9- osv-coords6 versionspkg:rpm/almalinux/freerdppkg:rpm/almalinux/freerdp-develpkg:rpm/almalinux/freerdp-libspkg:rpm/almalinux/freerdp-serverpkg:rpm/almalinux/libwinprpkg:rpm/almalinux/libwinpr-devel
< 2:3.10.3-12.el10_2.8+ 5 more
- (no CPE)range: < 2:3.10.3-12.el10_2.8
- (no CPE)range: < 2:3.10.3-12.el10_2.8
- (no CPE)range: < 2:3.10.3-12.el10_2.8
- (no CPE)range: < 2:3.10.3-12.el10_2.8
- (no CPE)range: < 2:3.10.3-12.el10_2.8
- (no CPE)range: < 2:3.10.3-12.el10_2.8
Patches
Vulnerability mechanics
References
3- github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609efnvdPatch
- www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitorsnvdPatchThird Party Advisory
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hcnvdExploitMitigationVendor Advisory
News mentions
1- Freerdp: Batch of 3 RCE, Command Execution, and Buffer Overflow Vulnerabilities DisclosedVypr Intelligence · Jul 21, 2026