Double Free Affecting freerdp3 package, versions <3.30.0+dfsg-0ubuntu0.24.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-FREERDP3-18069011
  • published29 Jul 2026
  • disclosed20 Jul 2026

Introduced: 20 Jul 2026

NewCVE-2026-64621  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 freerdp3 to version 3.30.0+dfsg-0ubuntu0.24.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp3 package and not the freerdp3 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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 Base Scores

version 3.1