VDB

CVE-2026-25997

CVE-2026-25997 PUBLISHED CVSS 5.5 MEDIUM

FreeRDP has heap-use-after-free in xf_clipboard_format_equal

Reported by github_m · Published February 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libwinprerrata.rockylinux.org3.10.3-12.el10, 3.10.3-5.el10
freerdp-develAmazon Linux2:2.11.7-1.amzn2.0.8
libwinpr-develAmazon Linux2:2.11.7-1.amzn2.0.8
freerdp-server-debuginfoerrata.rockylinux.org3.10.3-12.el10, 3.10.3-5.el10
freerdp-libs-debuginfoerrata.rockylinux.org3.10.3-12.el10, 3.10.3-5.el10

Risk scores

CVSS 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

Affected products

VendorProductVersions
FreeRDPFreeRDP< 3.23.0
amazon:2freerdp-devel0
amazon:2libwinpr-devel0
FreeRDPFreeRDP0
amazon:2libwinpr0
amazon:2023freerdp-libs0
amazon:2023freerdp0
amazon:2023libwinpr0
amazon:2freerdp-libs0
amazon:2023libwinpr-devel0
amazon:2023freerdp-devel0
amazon:2freerdp0
alpinefreerdp0
amazon:2023freerdp-server0

Timeline

  • Feb 24, 2026 CVE Published
  • Feb 25, 2026 PoC Published (2 in total, the first dated here)
  • Feb 26, 2026 EPSS Score (30 in total, the first dated here)
  • Feb 27, 2026 CVE Updated
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 2, 2026 Security Advisory (34 in total, the first dated here)
  • May 12, 2026 Distribution Patch (32 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-25997
vulnetix vdb fixes CVE-2026-25997

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-25997/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›