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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25959.json",
"cwe_ids": [
"CWE-416"
]
}{
"cpe": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.23.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-22T03:08:47Z"
[
{
"target": {
"file": "client/X11/xf_cliprdr.c"
},
"id": "CVE-2026-25959-7803699f",
"digest": {
"line_hashes": [
"140187442299368263434464487330894772885",
"138414563758307286353016829805703644136",
"64915792215187213272029038669883516841",
"303631537780894793780378424319007441785",
"50838123530107035430764103371345706278",
"252471813760665922971423900704102609899",
"278964411990300373488973611312905197584",
"110447101449085449817359703853628316774",
"273834990880202002528811070108422013099",
"169394077118920314481945336585393234686",
"109544432708464506794807400843774955727",
"310680480002467454795077775153489257612",
"320627949626274304917194646124307956219"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/freerdp/freerdp/commit/d3e8b3b9365be96a4f11dda149d71b3287227d0a"
},
{
"target": {
"function": "xf_cliprdr_process_selection_request",
"file": "client/X11/xf_cliprdr.c"
},
"id": "CVE-2026-25959-ea7d431c",
"digest": {
"function_hash": "282219038322477492494185331844569180582",
"length": 2951.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/freerdp/freerdp/commit/d3e8b3b9365be96a4f11dda149d71b3287227d0a"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25959.json"