All reports
Medium

freerdp: FreeRDP: Denial of Service via heap use-after-free in clipboard handling

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-25959

Probability of exploitation in the next 30 days: 0.67%

FIRST EPSS · 2026-11-21

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, xf_cliprdr_provide_data_ passes freed pDstData to XChangeProperty because the cliprdr channel thread calls xf_cliprdr_server_format_data_response which converts and uses the clipboard data without holding any lock, while the X11 event thread concurrently calls xf_cliprdr_clear_cached_data → HashTable_Clear which frees the same data via xf_cached_data_free, triggering a heap use after free. Version 3.23.0 fixes the issue.

A flaw was found in FreeRDP, a free implementation of the Remote Desktop Protocol. A remote attacker could exploit a race condition in the clipboard handling feature. This vulnerability, known as a heap use-after-free, occurs when the system attempts to use memory that has already been released. Successful exploitation could lead to a denial of service, making the system unavailable.