Vulnerability · Published Jul 20, 2026 · Assigned by VulnCheck
CVE-2026-64621FreeRDP before 3.28.0 Double-Free via selectedmonitors
High 7.3
In plain English
A high-severity double free in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | freerdp | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | freerdp-devel | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | freerdp-libs | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | freerdp-server | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | libwinpr | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | libwinpr-devel | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-64621 |
| Debian:13 | freerdp3 | no fix listed | DEBIAN-CVE-2026-64621 |
| Debian:14 | freerdp3 | 3.28.0+dfsg-1 | DEBIAN-CVE-2026-64621 |
| Rocky Linux:10 | freerdp | 2:3.10.3-12.el10_2.8 | RLSA-2026:54486 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-64621 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-64621 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-64621 |
Affected products (as reported)
Weakness: CWE-415 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
References
- GitHub Security Advisory (GHSA-f27x-frr8-j9hc) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: FreeRDP before 3.28.0 Double-Free via selectedmonitors third-party-advisory