Double Free in Freerdp
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (28.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 28.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Freerdp — versions 0, 3.28.0
Weakness classification (CWE)
References
- github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef (Patch, patch)
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc (Exploit, vendor-advisory, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitors (Patch, Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-64621?
- CVE-2026-64621 is a high-severity vulnerability in Freerdp, classified under Double Free. CVSS score: 7.3/10. Published 2026-07-20.
- How severe is CVE-2026-64621?
- High severity. CVSS v3 base score is 7.3 out of 10.