Advisory

UBUNTU-CVE-2026-64621

Also known as: CVE-2026-64621

Summary

The record has no summary.

Details

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

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H

Dates

Published
2026-07-20 12:19 UTC
Modified
2026-07-29 19:45 UTC

Affected packages and fixes

freerdp

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.30.0+dfsg-0ubuntu0.24.04.1 (ecosystem)

Fixed versions

3.30.0+dfsg-0ubuntu0.24.04.1

Fix

  • Fixed version 3.30.0+dfsg-0ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

freerdp3

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.30.0+dfsg-0ubuntu0.26.04.1 (ecosystem)

Fixed versions

3.30.0+dfsg-0ubuntu0.26.04.1

Fix

  • Fixed version 3.30.0+dfsg-0ubuntu0.26.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences