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.
Weakness
- CWE-415: Double Free
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-23 |
Timeline
- 2026-07-20Published by the CNA12:04 UTC
- 2026-07-23CISA SSVC decision recorded3 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| freerdp freerdp | from 3.0.0 before 3.28.0fixed in 3.28.0before 3.28.0fixed in 3.28.0 | 3.28.03.28.0 |
References
- https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef
- https://www.vulncheck.com/advisories/freerdp-before-double-free-via-selectedmonitors
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f27x-frr8-j9hc
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-64621'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-64621'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-64621'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-64621'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).