CVE-2026-25952
FreeRDP has heap-use-after-free in xf_SetWindowMinMaxInfo
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_SetWindowMinMaxInfo` dereferences a freed `xfAppWindow` pointer because `xf_rail_get_window` in `xf_rail_server_min_max_info` returns an unprotected pointer from the `railWindows` hash table, and the main thread can concurrently delete the window (via a window delete order) while the RAIL channel thread is still using the pointer. 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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| freerdp-devel | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8 |
| freerdp | errata.rockylinux.org | 2.11.7-7.el9, 2.11.7-1.el9 |
| libwinpr-devel | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8 |
| freerdp-devel | Amazon Linux | 2:2.11.7-1.amzn2.0.8 |
| freerdp-libs | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10 |
| freerdp-libs-debuginfo | errata.rockylinux.org | 2.11.7-7.el9, 2.11.7-1.el9 |
| libwinpr-debuginfo | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10 |
| freerdp-debugsource | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-7.el9, 2.11.7-1.el9 |
| freerdp-debuginfo | errata.rockylinux.org | 2.11.7-7.el9, 2.11.7-1.el9 |
| freerdp-server-debuginfo | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10 |
| libwinpr | Amazon Linux | 2:3.6.3-1.amzn2023.0.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.23.0 |
| amazon:2 | freerdp-devel | 0 |
| amazon:2023 | libwinpr | 0 |
| FreeRDP | FreeRDP | 0 |
| amazon:2 | libwinpr-devel | 0 |
| amazon:2023 | freerdp-server | 0 |
| amazon:2023 | freerdp | 0 |
| alpine | freerdp | 0 |
| amazon:2023 | freerdp-libs | 0 |
| amazon:2 | libwinpr | 0 |
| amazon:2 | freerdp-libs | 0 |
| amazon:2023 | freerdp-devel | 0 |
| amazon:2023 | libwinpr-devel | 0 |
| amazon:2 | freerdp | 0 |
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)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 2, 2026 Security Advisory (35 in total, the first dated here)
- May 12, 2026 Distribution Patch (36 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-25952
vulnetix vdb fixes CVE-2026-25952
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-25952/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-cgqm-cwjg-7w9x x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/1994e9844212a6dfe0ff12309fef520e888986b5 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1167 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1174 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1178 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1230-L1238 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L643 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1111 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1128 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1394 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_window.c#L1428 x_refsource_MISC