Skip to main content
EPSS 0.3%top 77%

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()…

0
High
Published: 07/20/2026 (07/20/2026, 12:19:00 UTC)
Source: GCVE Database
Product: freerdp

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.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
freerdp
pkg:deb/ubuntu/[email protected]~git20140921.1.440916e+dfsg1-5ubuntu1.4?arch=source&distro=xenial
Affected versions
=1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1=1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.2=1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.3=1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
freerdp2
pkg:deb/ubuntu/[email protected]+dfsg1-0ubuntu0.18.04.4+esm6?arch=source&distro=esm-infra/bionic
Affected versions
=2.0.0~git20170725.1.1648deb+dfsg1-1=2.0.0~git20170725.1.1648deb+dfsg1-5=2.0.0~git20170725.1.1648deb+dfsg1-5ubuntu1=2.0.0~git20170725.1.1648deb+dfsg1-5ubuntu2=2.0.0~git20170725.1.1648deb+dfsg1-6=2.0.0~git20170725.1.1648deb+dfsg1-6build1=2.0.0~git20170725.1.1648deb+dfsg1-7=2.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1=2.1.1+dfsg1-0ubuntu0.18.04.1=2.2.0+dfsg1-0ubuntu0.18.04.1=2.2.0+dfsg1-0ubuntu0.18.04.2=2.2.0+dfsg1-0ubuntu0.18.04.3=2.2.0+dfsg1-0ubuntu0.18.04.4=2.2.0+dfsg1-0ubuntu0.18.04.4+esm1=2.2.0+dfsg1-0ubuntu0.18.04.4+esm2=2.2.0+dfsg1-0ubuntu0.18.04.4+esm3=2.2.0+dfsg1-0ubuntu0.18.04.4+esm4=2.2.0+dfsg1-0ubuntu0.18.04.4+esm5=2.2.0+dfsg1-0ubuntu0.18.04.4+esm6
Ubuntu:18.04:LTSmore threats →ghsa
freerdp
pkg:deb/ubuntu/[email protected]~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.2?arch=source&distro=bionic
Affected versions
=1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1=1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.1=1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
freerdp2
pkg:deb/ubuntu/[email protected]+dfsg1-0ubuntu0.20.04.2+esm4?arch=source&distro=esm-infra/focal
Affected versions
=2.0.0~git20190204.1.2693389a+dfsg1-1=2.0.0~git20190204.1.2693389a+dfsg1-2=2.0.0~git20190204.1.2693389a+dfsg1-2build1=2.0.0~git20190204.1.2693389a+dfsg1-2build2=2.1.1+dfsg1-0ubuntu0.20.04.1=2.2.0+dfsg1-0ubuntu0.20.04.1=2.2.0+dfsg1-0ubuntu0.20.04.2=2.2.0+dfsg1-0ubuntu0.20.04.3=2.2.0+dfsg1-0ubuntu0.20.04.4=2.2.0+dfsg1-0ubuntu0.20.04.5=2.2.0+dfsg1-0ubuntu0.20.04.6=2.6.1+dfsg1-0ubuntu0.20.04.1=2.6.1+dfsg1-0ubuntu0.20.04.2=2.6.1+dfsg1-0ubuntu0.20.04.2+esm1=2.6.1+dfsg1-0ubuntu0.20.04.2+esm2=2.6.1+dfsg1-0ubuntu0.20.04.2+esm3=2.6.1+dfsg1-0ubuntu0.20.04.2+esm4
Ubuntu:22.04:LTSmore threats →ghsa
freerdp2
pkg:deb/ubuntu/[email protected]+dfsg1-3ubuntu2.11?arch=source&distro=jammy
Affected versions
=2.3.0+dfsg1-2build1=2.3.0+dfsg1-2ubuntu1=2.3.0+dfsg1-2ubuntu2=2.4.1+dfsg1-1=2.4.1+dfsg1-1ubuntu1=2.4.1+dfsg1-1ubuntu2=2.5.0+dfsg1-1=2.6.0+dfsg1-1=2.6.1+dfsg1-1=2.6.1+dfsg1-3=2.6.1+dfsg1-3ubuntu1=2.6.1+dfsg1-3ubuntu2=2.6.1+dfsg1-3ubuntu2.1=2.6.1+dfsg1-3ubuntu2.2=2.6.1+dfsg1-3ubuntu2.3=2.6.1+dfsg1-3ubuntu2.4=2.6.1+dfsg1-3ubuntu2.5=2.6.1+dfsg1-3ubuntu2.6=2.6.1+dfsg1-3ubuntu2.7=2.6.1+dfsg1-3ubuntu2.8=2.6.1+dfsg1-3ubuntu2.9=2.6.1+dfsg1-3ubuntu2.10=2.6.1+dfsg1-3ubuntu2.11
Ubuntu:24.04:LTSmore threats →ghsa
freerdp3
pkg:deb/ubuntu/[email protected]+dfsg-0ubuntu0.24.04.2?arch=source&distro=noble
Affected versions
=3.4.0+dfsg1-0ubuntu2=3.4.0+dfsg1-0ubuntu3=3.4.0+dfsg1-0ubuntu4=3.5.0+dfsg1-0ubuntu1=3.5.1+dfsg1-0ubuntu1=3.5.1+dfsg1-0ubuntu1.1=3.5.1+dfsg1-0ubuntu1.2=3.5.1+dfsg1-0ubuntu1.4=3.5.1+dfsg1-0ubuntu1.5=3.5.1+dfsg1-0ubuntu1.6=3.30.0+dfsg-0ubuntu0.24.04.1=3.30.0+dfsg-0ubuntu0.24.04.2
Ubuntu:Pro:24.04:LTSmore threats →ghsa
freerdp2
pkg:deb/ubuntu/[email protected]+dfsg1-1ubuntu0.1~esm6?arch=source&distro=esm-apps/noble
Affected versions
=2.10.0+dfsg1-1.1ubuntu1=2.11.2+dfsg1-1=2.11.2+dfsg1-1build1=2.11.2+dfsg1-1build3=2.11.5+dfsg1-1build1=2.11.5+dfsg1-1build2=2.11.5+dfsg1-1ubuntu0.1~esm1=2.11.5+dfsg1-1ubuntu0.1~esm2=2.11.5+dfsg1-1ubuntu0.1~esm3=2.11.5+dfsg1-1ubuntu0.1~esm4=2.11.5+dfsg1-1ubuntu0.1~esm5=2.11.5+dfsg1-1ubuntu0.1~esm6
Ubuntu:26.04:LTSmore threats →ghsa
freerdp3
pkg:deb/ubuntu/[email protected]+dfsg-0ubuntu0.26.04.2?arch=source&distro=resolute
Affected versions
=3.16.0+dfsg-2=3.18.0+dfsg-1ubuntu1=3.19.0+dfsg-1=3.19.1+dfsg-1=3.20.0+dfsg-1=3.20.2+dfsg-1=3.21.0+dfsg-1=3.22.0+dfsg-1=3.24.1+dfsg-1ubuntu1=3.24.2+dfsg-1ubuntu1=3.24.2+dfsg-1ubuntu1.1=3.30.0+dfsg-0ubuntu0.26.04.1=3.30.0+dfsg-0ubuntu0.26.04.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 10:54:16 UTC

Technical Analysis

FreeRDP before version 3.28.0, specifically versions 3.x through 3.27.1 and numerous earlier Ubuntu package versions, contains a double-free vulnerability. This flaw arises from improper handling of memory deallocation, which can lead to memory corruption. The vulnerability is exploitable remotely without authentication and requires no user interaction. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation of this double-free vulnerability can lead to high impact on confidentiality, integrity, and availability of the affected system. An attacker could cause a denial of service or potentially execute arbitrary code remotely without any privileges or user interaction.

Mitigation Recommendations

A fix is available in FreeRDP version 3.28.0 and later. Users and administrators should upgrade affected FreeRDP installations to version 3.28.0 or newer to remediate this vulnerability. Since this is not a cloud service, manual patching is required. Check vendor advisories and Ubuntu security updates for the appropriate patched package versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-64621
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
4.0

Threat ID: 6a6978839c2644c7f8df5e6f

Added to database: 07/29/2026, 03:50:27 UTC

Last enriched: 07/29/2026, 10:54:16 UTC

Last updated: 09/11/2026, 19:31:57 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses