cve.bz

CVE-2026-64621 freerdp freerdp: Double Free

9.3 criticalExploit referenceEPSS 0.4%Fix available

Critical (9.3) in freerdp freerdp. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-07-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-64621 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-64621?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-64621?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-64621 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FreeRDPbefore 3.28.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12freerdp2no fix listedDEBIAN-CVE-2026-64621
Debian13freerdp3no fix listedDEBIAN-CVE-2026-64621
Debian14freerdp33.28.0+dfsg-1DEBIAN-CVE-2026-64621
Ubuntu16.04:LTS, 18.04:LTSfreerdpno fix listedUBUNTU-CVE-2026-64621
Ubuntu22.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 morefreerdp2no fix listedUBUNTU-CVE-2026-64621
Ubuntu24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-64621
Ubuntu26.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.26.04.1UBUNTU-CVE-2026-64621
Red Hatenterprise_linux:10.2freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hatenterprise_linux_eus:10.0freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-3.el10_0.11RHSA-2026:58711
AlmaLinux10freerdp, libwinpr, freerdp-libs and 3 more2:3.10.3-12.el10_2.8ALSA-2026:54486
Rocky Linux10freerdp2:3.10.3-12.el10_2.8RLSA-2026:54486

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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's mitigation

The vulnerability is triggered by opening a malicious `.rdp` file. Users should exercise caution and avoid opening `.rdp` files from untrusted sources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10freerdp-2:3.10.3-12.el10_2.8Fixed 2026-08-13RHSA-2026:54486
Red Hat Enterprise Linux 10.0 Extended Update Supportfreerdp-2:3.10.3-3.el10_0.11Fixed 2026-08-24RHSA-2026:58711
Red Hat Enterprise Linux 6freerdpOut of support scope
Red Hat Enterprise Linux 7freerdpNot affected
Red Hat Enterprise Linux 8freerdpNot affected
Red Hat Enterprise Linux 9freerdpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-64621.

References

Check your stackJSON