CVE-2026-25997
published 2026-02-25CVE-2026-25997: FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_clipboard_format_equal` reads freed `lastSentFormats` memory…
PriorityP351critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.57%
43.6th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | freerdp2 | < freerdp3 3.23.0+dfsg-1 (forky) | freerdp3 3.23.0+dfsg-1 (forky) |
| debian | freerdp3 | < freerdp3 3.23.0+dfsg-1 (forky) | freerdp3 3.23.0+dfsg-1 (forky) |
| freerdp | freerdp | < 3.23.0 | 3.23.0 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.05.5MEDIUMCVSS: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
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
FreeRDP up to 3.22.x xf_clipboard_format_equal use after free (GHSA-q5j3-m6jf-3jq4 / Nessus ID 299996)
vuldb·2026-05-13·CVSS 5.5
CVE-2026-25997 [MEDIUM] FreeRDP up to 3.22.x xf_clipboard_format_equal use after free (GHSA-q5j3-m6jf-3jq4 / Nessus ID 299996)
A vulnerability described as critical has been identified in FreeRDP up to 3.22.x. This vulnerability affects the function xf_clipboard_format_equal. The manipulation results in use after free.
This vulnerability is identified as CVE-2026-25997. The attack can be executed remotely. There is not any exploit available.
Upgrading the affected component is recommended.
OSV
CVE-2026-25997: FreeRDP is a free implementation of the Remote Desktop Protocol
osv·2026-02-25·CVSS 5.5
CVE-2026-25997 [MEDIUM] CVE-2026-25997: FreeRDP is a free implementation of the Remote Desktop Protocol
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.
Ubuntu
FreeRDP vulnerabilities
vendor_ubuntu·2026-03-18
CVE-2026-25954 FreeRDP vulnerabilities
Title: FreeRDP vulnerabilities
Summary: Several security issues were fixed in FreeRDP.
It was discovered that FreeRDP incorrectly handled certain RDP packets. A
remote attacker could use this issue to cause FreeRDP to crash, resulting
in a denial of service, or possibly execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
vendor_redhat·2026-02-25·CVSS 5.5
CVE-2026-25997 [MEDIUM] CWE-825 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
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.
A flaw was found in FreeRDP, a free implementation of the Remote Desktop Protocol. This vulnerability, a heap use-after-free, occurs during an auto-reconnect operation when the `xf_clipboard_formats_free` function frees memory that is still being accessed by another thread. A remote attacker could ex
Debian
CVE-2026-25997: freerdp2 - FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to versio...
vendor_debian·2026·CVSS 5.5
CVE-2026-25997 [MEDIUM] CVE-2026-25997: freerdp2 - FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to versio...
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.
Scope: local
bookworm: open
bullseye: open
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-25997 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
bugzilla·2026-02-25·CVSS 5.5
CVE-2026-25997 [MEDIUM] CVE-2026-25997 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
CVE-2026-25997 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect
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.
Discussion:
This issue has been addressed in the following products:
Red Hat Enterprise Linux 10
Via RHSA-2026:16014 https://access.redhat.com/errata/RHSA-2026:16014
Bugzilla
CVE-2026-25997 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect [fedora-42]
bugzilla·2026-02-25·CVSS 5.5
CVE-2026-25997 [MEDIUM] CVE-2026-25997 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect [fedora-42]
CVE-2026-25997 freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
This bug is already fixed in a published Bodhi update.
---
FEDORA-2026-53fe996a57 (freerdp-3.23.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-53fe996a57
Bugzilla
CVE-2026-25997 freerdp2: FreeRDP: Denial of service via heap use-after-free during auto-reconnect [fedora-42]
bugzilla·2026-02-25·CVSS 5.5
CVE-2026-25997 [MEDIUM] CVE-2026-25997 freerdp2: FreeRDP: Denial of service via heap use-after-free during auto-reconnect [fedora-42]
CVE-2026-25997 freerdp2: FreeRDP: Denial of service via heap use-after-free during auto-reconnect [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintai
Wiz
CVE-2026-25997 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 5.5
CVE-2026-25997 [MEDIUM] CVE-2026-25997 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-25997 :
NixOS vulnerability analysis and mitigation
xf_clipboard_format_equal
lastSentFormats
xf_clipboard_formats_free
xf_clipboard_changed
Source : NVD
## 5.5
Score
Published February 25, 2026
Severity MEDIUM
CNA Score 5.5
Affected Technologies
NixOS
Wolfi
Has Public Exploit Yes
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 30.6
Exploitation Probability (EPSS) 0.1
Affected packages and libraries
libwinpr
freerdp-libs-debuginfo
Sources
NVD
Alpine 3.10, 3.11, 3.12, 3.13, 3.14, 3.15, 3.16, 3.17, 3.18, 3.19, 3.20, 3.21, 3.22, 3.23, edge Severity CRITICAL Has Fix Added at: Mar 02, 2026
Chainguard Has Fix Added at: Mar 02, 2026
Debian 11, 13 Severity CRITICAL No Fix Added at: Mar 02,
https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1884https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1889https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L265https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L616https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L831https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L851-L855https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L868-L875https://github.com/FreeRDP/FreeRDP/commit/58409406afe7c2a8a71ed2dc8e22075be4f41c0chttps://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4
2026-02-25
Published