# CVE-2026-25959: FreeRDP has heap-use-after-free in xf\_cliprdr\_provide\_data\_

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-25 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2026-25959, DEBIAN-CVE-2026-25959, ALPINE-CVE-2026-25959
- Record: https://cvemate.com/vulnerability/CVE-2026-25959 · JSON: https://cvemate.com/vulnerability/CVE-2026-25959/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.666%, percentile 53.197%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.23.0-r0
- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u1 \| \< 3.23.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.5.1+dfsg1-0ubuntu1.4 \| \< 3.16.0+dfsg-2ubuntu0.3
- freerdp freerdp: \< 3.23.0

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-78xg-v4p2-4w3c>
- <https://github.com/FreeRDP/FreeRDP/commit/d3e8b3b9365be96a4f11dda149d71b3287227d0a>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1229-L1243>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1337-L1344>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L200-L208>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L2295>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L2323-L2334>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L2363>
- <https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L933>
- <https://ubuntu.com/security/CVE-2026-25959>
- <https://www.cve.org/CVERecord?id=CVE-2026-25959>
- <https://ubuntu.com/security/notices/USN-8105-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-25959>
- <https://security.alpinelinux.org/vuln/CVE-2026-25959>

---

Data as of 2026-12-05T07:08:57.948Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
