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

Published Jul 20, 2026
·
Updated

FreeRDP before 3.28.0 (affected 3.x through 3.27.1) contains a double-free vulnerability in freerdpclientrdpfileapplytosettings() (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 freerdpsettingsfree() 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 Software

2 affected components
FreeRDP freerdp<3.28.0
FreeRDP freerdp>=3.0.0<3.28.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeRDP (xfreerdp/sdl-freerdp/wlfreerdp) to a version that resolves this vulnerability.

    Fixed in 3.28.0

Event History

Jul 20, 2026
CVE Published
via MITRE·12:04 PM
Data Sourced
via MITRE·12:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:19 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64621?

CVE-2026-64621 has a high severity rating of 7.3.

2

How do I fix CVE-2026-64621?

To remediate CVE-2026-64621, upgrade FreeRDP to version 3.28.0 or later.

3

What causes the vulnerability in CVE-2026-64621?

CVE-2026-64621 is caused by a double-free vulnerability in the parsing of the selectedmonitors field in .rdp connection files.

4

Which versions of FreeRDP are affected by CVE-2026-64621?

FreeRDP versions from 3.x through 3.27.1 are affected by CVE-2026-64621.

5

What impact could CVE-2026-64621 have on an affected system?

CVE-2026-64621 could lead to memory corruption, potentially allowing an attacker to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203