Bug 2502823 - CVE-2026-64621 freerdp2: FreeRDP: Double-free vulnerability via crafted .rdp file leading to potential remote code execution [epel-all]
Summary: CVE-2026-64621 freerdp2: FreeRDP: Double-free vulnerability via crafted .rdp ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: freerdp2
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: {"flaws": ["f88ee04a-4572-4d81-8276-4...
Depends On:
Blocks: CVE-2026-64621
TreeView+ depends on / blocked
 
Reported: 2026-07-20 14:42 UTC by Srikanth Balasubramanian
Modified: 2026-07-23 12:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-07-23 12:01:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-07-20 14:42:46 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Ondrej Holy 2026-07-23 12:01:10 UTC
The SelectedMonitors/MonitorIds allocation and free logic does not exist in the 2.x codebase.


Note You need to log in before you can comment on or make changes to this bug.