CVE-2026-25997 json
FreeRDP has heap-use-after-free in xf_clipboard_format_equal
published 2026-02-25 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-8737
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_clipboard_format_equal` reads freed `lastSentFormats` memory because `xf_clipboard_formats_free` (called from the cliprdr channel thread during auto-reconnect) frees the array while the X11 event thread concurrently iterates it in `xf_clipboard_changed`, triggering a heap use after free. Version 3.23.0 fixes the issue.
Patch / fix
- freerdp freerdp 3.23.0
- freerdp3 Debian 13 3.15.0+dfsg-2.1+deb13u1
- freerdp3 Debian 14 3.23.0+dfsg-1
debian advisories DEBIAN-CVE-2026-25997
- freerdp3 Ubuntu 24.04 LTS 3.5.1+dfsg1-0ubuntu1.4
- freerdp3 Ubuntu 25.10 3.16.0+dfsg-2ubuntu0.3
ubuntu advisories UBUNTU-CVE-2026-25997
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- freerdp RHEL 10.2 2:3.10.3-12.el10_2.5
- libwinpr RHEL 10.2 2:3.10.3-12.el10_2.5
- freerdp-libs RHEL 10.2 2:3.10.3-12.el10_2.5
- freerdp-server RHEL 10.2 2:3.10.3-12.el10_2.5
- freerdp RHEL 10.1 2:3.10.3-5.el10_1.8
- libwinpr RHEL 10.1 2:3.10.3-5.el10_1.8
- freerdp-libs RHEL 10.1 2:3.10.3-5.el10_1.8
- freerdp-server RHEL 10.1 2:3.10.3-5.el10_1.8
red hat advisories RHSA-2026:20605RHSA-2026:19142RHSA-2026:16014
- freerdp2 openSUSE Tumbleweed 2.11.7-8.1
- freerdp openSUSE Tumbleweed 3.24.1-1.1
opensuse advisories openSUSE-SU-2026:10611-1openSUSE-SU-2026:10408-1
- freerdp AlmaLinux 10 2:3.10.3-5.el10_1.8
- libwinpr AlmaLinux 10 2:3.10.3-5.el10_1.8
- freerdp-libs AlmaLinux 10 2:3.10.3-5.el10_1.8
- freerdp-server AlmaLinux 10 2:3.10.3-5.el10_1.8
almalinux advisories ALSA-2026:16014
- freerdp Rocky Linux 10 2:3.10.3-12.el10_2.5
- freerdp Rocky Linux 10 2:3.10.3-5.el10_1.8
rocky linux advisories RLSA-2026:19142RLSA-2026:16014
- freerdp Alpine 3.24, Alpine 3.23 3.23.0-r0
alpine advisories ALPINE-CVE-2026-25997
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-25997 updated cvss 5.3
freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
-
Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-pluginsaffected: workaround, no fix available
-
Red Hat Enterprise Linux 8 freerdp, libwinpr, freerdp-libsaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 10) freerdp 3.10.3-5.el10_1.8, freerdp 3.10.3-12.el10_2.5, libwinpr 3.10.3-5.el10_1.8, libwinpr 3.10.3-12.el10_2.5, freerdp-libs 3.10.3-5.el10_1.8, freerdp-libs 3.10.3-12.el10_2.5fixed: vendor fix RHSA-2026:16014
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) freerdp 3.10.3-3.el10_0.7, libwinpr 3.10.3-3.el10_0.7, freerdp-libs 3.10.3-3.el10_0.7fixed: vendor fix RHSA-2026:20605
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) freerdp-server 3.10.3-5.el10_1.8, freerdp-server 3.10.3-12.el10_2.5fixed: vendor fix RHSA-2026:16014
-
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) freerdp-server 3.10.3-3.el10_0.7fixed: vendor fix RHSA-2026:20605
-
Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 9 freerdp, libwinpr, freerdp-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.5 | 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 |
| CNA | 4.0 | 5.5 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- FreeRDP FreeRDP
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/FreeRDP/FreeRDP/commit/58409406afe7c2a8a71ed2dc8e22075be4f41c0c
patch
-
github.com
/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4
exploit, mitigation, patch, vendor-advisory
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1884
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1889
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L265
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L616
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L831
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L851-L855
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L868-L875
patch
Sources
- CVE List CVE-2026-25997
- NVD CVE-2026-25997
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.