# CVE-2026-64621: FreeRDP before 3.28.0 Double-Free via selectedmonitors

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-20T12:04:53.788Z
- Modified: 2026-07-28T15:34:52.930Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: before 3.28.0; from 3.0.0 before 3.28.0 (not affected: 3.28.0)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc> (exploit, mitigation, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef> (patch)
- <https://www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitors> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2026-64621](https://www.cve.org/CVERecord?id=CVE-2026-64621), CVE Terms of Use, modified 2026-07-23
- NVD: [CVE-2026-64621](https://nvd.nist.gov/vuln/detail/CVE-2026-64621), Public domain, modified 2026-07-28

---

Page: https://cve.day/CVE-2026-64621 · Whole record: https://cve.day/CVE-2026-64621.json · Rebuilt by cve.day 2026-11-25T22:59:29.215Z
