cve.bz

CVE-2026-25997 freerdp freerdp: Use After Free

5.5 mediumExploit referenceEPSS 0.7%Fix available

Medium (5.5) in freerdp freerdp. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.5 medium
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-02-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25997 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25997?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25997?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25997 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freerdp:freerdpbefore 3.23.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12freerdp2no fix listedDEBIAN-CVE-2026-25997
Debian13freerdp33.15.0+dfsg-2.1+deb13u1DEBIAN-CVE-2026-25997
Debian14freerdp33.23.0+dfsg-1DEBIAN-CVE-2026-25997
Ubuntu16.04:LTS, 18.04:LTSfreerdpno fix listedUBUNTU-CVE-2026-25997
Ubuntu22.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 morefreerdp2no fix listedUBUNTU-CVE-2026-25997
Ubuntu24.04:LTSfreerdp33.5.1+dfsg1-0ubuntu1.4UBUNTU-CVE-2026-25997 USN-8105-1
Ubuntu25.10freerdp33.16.0+dfsg-2ubuntu0.3UBUNTU-CVE-2026-25997 USN-8105-1
Red Hatenterprise_linux:10.1freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-5.el10_1.8RHSA-2026:16014
Red Hatenterprise_linux:10.2freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-12.el10_2.5RHSA-2026:19142
Red Hatenterprise_linux_eus:10.0freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-3.el10_0.7RHSA-2026:20605
openSUSETumbleweedfreerdp3.24.1-1.1openSUSE-SU-2026:10408-1
openSUSETumbleweedfreerdp22.11.7-8.1openSUSE-SU-2026:10611-1
AlmaLinux10freerdp, libwinpr, freerdp-libs and 3 more2:3.10.3-5.el10_1.8ALSA-2026:16014
Rocky Linux10freerdp2:3.10.3-12.el10_2.5RLSA-2026:19142
Rocky Linux10freerdp2:3.10.3-5.el10_1.8RLSA-2026:16014
Alpinev3.23, v3.24freerdp3.23.0-r0ALPINE-CVE-2026-25997

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10freerdp-2:3.10.3-5.el10_1.8Fixed 2026-05-11RHSA-2026:16014
Red Hat Enterprise Linux 10freerdp-2:3.10.3-12.el10_2.5Fixed 2026-05-19RHSA-2026:19142
Red Hat Enterprise Linux 10.0 Extended Update Supportfreerdp-2:3.10.3-3.el10_0.7Fixed 2026-05-26RHSA-2026:20605
Red Hat Enterprise Linux 6freerdpAffected
Red Hat Enterprise Linux 7freerdpNot affected
Red Hat Enterprise Linux 8freerdpWill not fix
Red Hat Enterprise Linux 9freerdpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25997.

References

Check your stackJSON