CVE-2026-26986
FreeRDP has heap-use-after-free in rail_window_free
Reported by github_m · Published February 25, 2026
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `rail_window_free` dereferences a freed `xfAppWindow` pointer during `HashTable_Free` cleanup because `xf_rail_window_common` calls `free(appWindow)` on title allocation failure without first removing the entry from the `railWindows` hash table, leaving a dangling pointer that is freed again on disconnect. Version 3.23.0 fixes the vulnerability.
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-server-debuginfo | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10 |
| freerdp-libs | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8, 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, 2.11.7-9.el8, 2.11.7-7.el9, 2.11.7-1.el9 |
| freerdp-debuginfo | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8, 2.11.7-7.el9, 2.11.7-1.el9 |
| libwinpr | Amazon Linux | 2:3.6.3-1.amzn2023.0.7, 2:2.11.7-1.amzn2.0.8 |
| libwinpr | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8, 2.11.7-7.el9, 2.11.7-1.el9 |
| freerdp | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8, 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, 2.11.7-7.el9, 2.11.7-1.el9 |
| freerdp-libs-debuginfo | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8, 2.11.7-7.el9, 2.11.7-1.el9 |
| freerdp-server | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10 |
| freerdp-libs | Amazon Linux | 2:3.6.3-1.amzn2023.0.7, 2:2.11.7-1.amzn2.0.8 |
| freerdp-debugsource | errata.rockylinux.org | 3.10.3-12.el10, 3.10.3-5.el10, 2.11.7-9.el8, 2.11.7-7.el9, 2.11.7-1.el9 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.23.0 |
| amazon:2023 | libwinpr | 0 |
| amazon:2 | freerdp-libs | 0 |
| amazon:2023 | freerdp-libs | 0 |
| amazon:2023 | freerdp-devel | 0 |
| amazon:2 | libwinpr | 0 |
| amazon:2 | freerdp-devel | 0 |
| amazon:2 | libwinpr-devel | 0 |
| amazon:2023 | libwinpr-devel | 0 |
| amazon:2023 | freerdp-server | 0 |
| amazon:2 | freerdp | 0 |
| amazon:2023 | freerdp | 0 |
| FreeRDP | FreeRDP | 0 |
Timeline
- Feb 24, 2026 CVE Published
- Feb 26, 2026 EPSS Score (30 in total, the first dated here)
- Feb 28, 2026 PoC Published
- 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)
- Sep 28, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-26986
vulnetix vdb fixes CVE-2026-26986
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-26986/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-crqx-g6x5-rx47 x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/b4f0f0a18fe53aa8d47d062f91471f4e9c5e0d51 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#L1297 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1316-L1327 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L386-L394 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L395-L399 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L401-L404 x_refsource_MISC