Vulnerabilities / CVE-2026-25997

critical

CVE-2026-25997

freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (high), Red Hat (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (medium).

Description

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 packages and fixed versions

SourcePackageFixed in
alpine 3.23freerdp3.23.0-r0
alpine 3.24freerdp3.23.0-r0
alpine edgefreerdp3.23.0-r0
amazon linux 2freerdp, freerdp-debuginfo, freerdp-devel and 3 more2:2.11.7-1.amzn2.0.8
amazon linux 2023freerdp, freerdp-debuginfo, freerdp-debugsource and 8 more2:3.6.3-1.amzn2023.0.7
debian 11freerdp2no fix listed
debian 12freerdp2no fix listed
debian 13freerdp33.15.0+dfsg-2.1+deb13u1
debian 14freerdp33.23.0+dfsg-1
echofreerdp2, freerdp33.15.0+dfsg-2.1+deb13u1
rapidfort alma 8freerdp, freerdp-devel, freerdp-libs and 2 moreno fix listed
rapidfort alpine 3.20freerdp3.23.0-r0
Show all 72 entries from 24 sources
SourcePackageFixed in
alpine 3.23freerdp3.23.0-r0
alpine 3.24freerdp3.23.0-r0
alpine edgefreerdp3.23.0-r0
amazon linux 2freerdp2:2.11.7-1.amzn2.0.8
amazon linux 2freerdp-debuginfo2:2.11.7-1.amzn2.0.8
amazon linux 2freerdp-devel2:2.11.7-1.amzn2.0.8
amazon linux 2freerdp-libs2:2.11.7-1.amzn2.0.8
amazon linux 2libwinpr2:2.11.7-1.amzn2.0.8
amazon linux 2libwinpr-devel2:2.11.7-1.amzn2.0.8
amazon linux 2023freerdp2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-debuginfo2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-debugsource2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-libs-debuginfo2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-server2:3.6.3-1.amzn2023.0.7
amazon linux 2023freerdp-server-debuginfo2:3.6.3-1.amzn2023.0.7
amazon linux 2023libwinpr2:3.6.3-1.amzn2023.0.7
amazon linux 2023libwinpr-debuginfo2:3.6.3-1.amzn2023.0.7
amazon linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.7
debian 11freerdp2no fix listed
debian 12freerdp2no fix listed
debian 13freerdp33.15.0+dfsg-2.1+deb13u1
debian 14freerdp33.23.0+dfsg-1
echofreerdp2no fix listed
echofreerdp33.15.0+dfsg-2.1+deb13u1
rapidfort alma 8freerdpno fix listed
rapidfort alma 8freerdp-develno fix listed
rapidfort alma 8freerdp-libsno fix listed
rapidfort alma 8libwinprno fix listed
rapidfort alma 8libwinpr-develno fix listed
rapidfort alpine 3.20freerdp3.23.0-r0
rapidfort alpine 3.21freerdp3.23.0-r0
rapidfort alpine 3.22freerdp3.23.0-r0
rapidfort amazon linux 2023freerdp2:3.6.3-1.amzn2023.0.7
rapidfort amazon linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.7
rapidfort amazon linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.7
rapidfort amazon linux 2023freerdp-server2:3.6.3-1.amzn2023.0.7
rapidfort amazon linux 2023libwinpr2:3.6.3-1.amzn2023.0.7
rapidfort amazon linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.7
rapidfort debian 12freerdp2no fix listed
rapidfort debian 12freerdp30:3.15.0+dfsg-2.1+deb13u1, 0:3.23.0+dfsg-1
rapidfort debian 13freerdp2no fix listed
rapidfort debian 13freerdp30:3.15.0+dfsg-2.1+deb13u1, 0:3.23.0+dfsg-1
rapidfort fedora 43freerdp2:3.23.0-1.fc43
rapidfort fedora 43freerdp-devel2:3.23.0-1.fc43
rapidfort fedora 43freerdp-libs2:3.23.0-1.fc43
rapidfort fedora 43freerdp-server2:3.23.0-1.fc43
rapidfort fedora 43libwinpr2:3.23.0-1.fc43
rapidfort fedora 43libwinpr-devel2:3.23.0-1.fc43
rapidfort Oracle Linux 10freerdp2:3.10.3-12.el10_2.6
rapidfort Oracle Linux 10freerdp-devel2:3.10.3-12.el10_2.6
rapidfort Oracle Linux 10freerdp-libs2:3.10.3-12.el10_2.6
rapidfort Oracle Linux 10freerdp-server2:3.10.3-12.el10_2.6
rapidfort Oracle Linux 10libwinpr2:3.10.3-12.el10_2.6
rapidfort Oracle Linux 10libwinpr-devel2:3.10.3-12.el10_2.6
rapidfort rocky 8freerdpno fix listed
rapidfort rocky 8freerdp-develno fix listed
rapidfort rocky 8freerdp-libsno fix listed
rapidfort rocky 8libwinprno fix listed
rapidfort rocky 8libwinpr-develno fix listed
Red Hatfreerdpno fix listed
Red Hatfreerdp-develno fix listed
Red Hatfreerdp-libsno fix listed
Red Hatfreerdp-pluginsno fix listed
Red Hatlibwinprno fix listed
Red Hatlibwinpr-develno fix listed
rocky 10freerdp2:3.10.3-12.el10_2.5
rocky 10freerdp-libs2:3.10.3-12.el10_2.5
rocky 10libwinpr2:3.10.3-12.el10_2.5
ubuntu 24.04freerdp33.5.1+dfsg1-0ubuntu1.4
ubuntu 25.10freerdp33.16.0+dfsg-2ubuntu0.3

References

All 38 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.