CVE-2026-25955 json
FreeRDP has heap-use-after-free in xf_AppUpdateWindowFromSurface (stale XImage)
published 2026-02-25 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-8735
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_AppUpdateWindowFromSurface` reuses a cached `XImage` whose `data` pointer references a freed RDPGFX surface buffer, because `gdi_DeleteSurface` frees `surface->data` without invalidating the `appWindow->image` that aliases it. 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-25955
- 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-25955
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 openSUSE Tumbleweed 3.24.1-1.1
opensuse advisories openSUSE-SU-2026:10408-1
- freerdp Alpine 3.24, Alpine 3.23 3.23.0-r0
alpine advisories ALPINE-CVE-2026-25955
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-25955 updated cvss 4.3
freerdp: FreeRDP: Denial of Service via use-after-free in xf_AppUpdateWindowFromSurface
-
Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 8 freerdp, libwinpr, freerdp-libs Red Hat Enterprise Linux 9 freerdp, libwinpr, freerdp-libs Red Hat Enterprise Linux 10 freerdpaffected: workaround, no fix available “Fix deferred”
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.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-4g54-x8v7-559x 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/169d358734509e82663a0d6a0085ae726d439d8e
patch
-
github.com
/FreeRDP/FreeRDP/security/advisories/GHSA-4g54-x8v7-559x
exploit, mitigation, patch, vendor-advisory
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1484-L1492
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1494-L1500
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1528
patch
-
github.com
/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/libfreerdp/gdi/gfx.c#L1224-L1227
patch
Sources
- CVE List CVE-2026-25955
- NVD CVE-2026-25955
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.