High [CVE-2026-64621] Double-free vulnerability via crafted.rdp file leading to potential remote code execution
This high-severity Red Hat Linux advisory covers CVE-2026-64621 affecting Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 6, Red Hat package: freerdp.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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. A flaw was found in FreeRDP, a free implementation of the Remote Desktop Protocol.
This could potentially allow for arbitrary code execution on the affected system. This Important flaw in FreeRDP clients allows for arbitrary code execution when a user opens a specially crafted `.rdp` connection file.
The vulnerability stems from a double-free condition during the parsing of the `selectedmonitors` field, which can be triggered by an attacker convincing a victim to open a malicious file. This risk is elevated as it affects default configurations of FreeRDP command-line interface clients.
Red Hat severity: Important — CVSS 7.3 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H).
- < 3.28.0
- < 3.27.1
Official advisory · high-confidence parse· fetched 6 days ago·verify at source
- freerdp-2:3.10.3-12.el10_2.8
- freerdp-2:3.10.3-3.el10_0.11
- RHSA-2026:54486
- RHSA-2026:58711
Official advisory · high-confidence parse· fetched 6 days ago·verify at source
Mitigation checklist
- The vulnerability is triggered by opening a malicious `.rdp` file. Users should exercise caution and avoid opening `.rdp` files from untrusted sources.
Official advisory · high-confidence parse· fetched 6 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.