CVE-2026-25952

FreeRDP has heap-use-after-free in xf_SetWindowMinMaxInfo

Published Feb 25, 2026 CVSS 4.0 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_SetWindowMinMaxInfo` dereferences a freed `xfAppWindow` pointer because `xf_rail_get_window` in `xf_rail_server_min_max_info` returns an unprotected pointer from the `railWindows` hash table, and the main thread can concurrently delete the window (via a window delete order) while the RAIL channel thread is still using the pointer. Version 3.23.0 fixes the issue.

Analysis

AI-generated

Technical impact

FreeRDP’s RAIL channel contains a heap‑use‑after‑free in the function xf_SetWindowMinMaxInfo. The flaw occurs when a window is deleted by the main thread while a separate RAIL server thread still accesses the freed xfAppWindow structure, causing an invalid memory dereference. This memory corruption can result in an application crash. The potential for code execution is not explicitly documented; based on typical heap corruption effects, it is inferred that an attacker could possibly trigger arbitrary code execution if the crash is exploitable, but this claim is tentative.

Affected Systems

All FreeRDP releases before version 3.23.0 that include the xf_rail code are vulnerable. The issue resides in the client component that handles RAIL window min/max data and affects any system that accepts remote clients with the RAIL channel enabled.

Risk and Exploitability

The base CVSS score is 5.5, indicating moderate severity. The EPSS score of <1% reflects a very low probability of exploitation at the time of analysis. Because the flaw is exercised through the RAIL channel during a remote desktop session, it is inferred that an attacker must establish a RAIL‑enabled session and trigger window min/max updates while a window is removed. The vulnerability is not listed in CISA’s KEV catalog, so it has not been confirmed as a publicly exploited flaw. Administrators should consider the moderate impact and low exploitation likelihood when prioritizing remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.23.0 or later to apply the vendor patch.
  • Disable the RAIL channel if an upgrade cannot be performed immediately, preventing the vulnerable code path from being exercised.
  • Monitor client and server logs for crashes or abnormal behaviors that could indicate an attempted exploitation of the memory corruption.

Generated by OpenCVE AI on April 18, 2026 at 10:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8105-1 FreeRDP vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Freerdp
Freerdp freerdp
Vendors & Products Freerdp
Freerdp freerdp
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_SetWindowMinMaxInfo` dereferences a freed `xfAppWindow` pointer because `xf_rail_get_window` in `xf_rail_server_min_max_info` returns an unprotected pointer from the `railWindows` hash table, and the main thread can concurrently delete the window (via a window delete order) while the RAIL channel thread is still using the pointer. Version 3.23.0 fixes the issue.
Title FreeRDP has heap-use-after-free in xf_SetWindowMinMaxInfo
Weaknesses CWE-416
References
Metrics cvssV4_0

{'score': 5.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 26, 2026, 3:56 PM
Reserved
Feb 9, 2026, 5:13 PM
Status
Analyzed
Published
Feb 25, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:25 AM
Severity
Moderate
Public date
Feb 25, 2026, 8:24 PM