Skip to content
OpenAdvisories
High · 7.3 CVE-2026-64621 EUVD-2026-45936GHSA-7pv2-4c55-cg52

FreeRDP before 3.28.0 Double-Free via selectedmonitors

Published Jul 20, 2026 · Updated Jul 23, 2026 · 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.

Affected products

VendorProductAffectedFixed
FreeRDP FreeRDP < 3.28.0 3.28.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 freerdp3 3.28.0+dfsg-1 —
Debian 13 freerdp3 No fix yet —
Debian 12 freerdp2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS freerdp3 3.30.0+dfsg-0ubuntu0.26.04.1 —
Ubuntu 24.04 LTS freerdp3 3.30.0+dfsg-0ubuntu0.24.04.1 —
Ubuntu 22.04 LTS freerdp2 No fix yet —
Ubuntu 18.04 LTS freerdp No fix yet —
Ubuntu 16.04 LTS freerdp No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS freerdp2 No fix yet —
Ubuntu Pro 20.04 LTS freerdp2 No fix yet —
Ubuntu Pro 18.04 LTS freerdp2 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 freerdp +5 2:3.10.3-12.el10_2.8 RHSA-2026:54486
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS freerdp +5 2:3.10.3-3.el10_0.11 RHSA-2026:58711

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 freerdp +5 2:3.10.3-12.el10_2.8 ALSA-2026:54486

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 freerdp 2:3.10.3-12.el10_2.8 RLSA-2026:54486

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 freerdp +5 2:3.6.3-1.amzn2023.0.14 ALAS2023-2026-2053

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 freerdp +5 2:3.10.3-12.el10_2.8 ELSA-2026-54486

Advisories 7

References