CVE-2026-23884
Heap-use-after-free in gdi_set_bounds
Reported by github_m · Published January 19, 2026
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, offscreen bitmap deletion leaves `gdi->drawing` pointing to freed memory, causing UAF when related update packets arrive. A malicious server can trigger a client‑side use after free, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for 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 | Amazon Linux | 2:2.11.7-1.amzn2.0.3 |
| freerdp-libs | Amazon Linux | 2:3.6.3-1.amzn2023.0.2, 2:2.11.7-1.amzn2.0.3 |
| freerdp | Amazon Linux | 2:3.6.3-1.amzn2023.0.2 |
| libwinpr | Amazon Linux | 2:3.6.3-1.amzn2023.0.2 |
| freerdp | freerdp | 3.21.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.21.0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.1.1-5.el7_9.1 |
| amazon:2 | freerdp-devel | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux Server Optional (v. 7 ELS) | |
| Red Hat | Red Hat Enterprise Linux AppStream AUS (v.8.6) | |
| Red Hat | Red Hat Enterprise Linux AppStream E4S (v.9.0) | |
| amazon:2023 | freerdp-libs | 0 |
| Red Hat | Red Hat Enterprise Linux AppStream EUS (v.9.6) | |
| Red Hat | Red Hat Enterprise Linux 9 | 2:2.11.7-1.el9_7.1 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat CodeReady Linux Builder EUS (v.9.6) | |
| Red Hat | Red Hat Enterprise Linux AppStream E4S (v.9.2) | |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 10) | |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 2:3.10.3-3.el10_0.1 |
| Red Hat | Red Hat Enterprise Linux AppStream TUS (v.8.6) | |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 2:2.2.0-12.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 9) | |
| amazon:2023 | freerdp | 0 |
| Red Hat | Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) |
…and 37 more
Timeline
- Jan 19, 2026 CVE Published
- Jan 19, 2026 PoC Published
- Jan 20, 2026 EPSS Score (30 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jul 1, 2026 Distribution Patch (31 in total, the first dated here)
- Jul 1, 2026 Security Advisory (34 in total, the first dated here)
- Jul 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-23884
vulnetix vdb fixes CVE-2026-23884
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-23884/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-cfgj-vc84-f3pp x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L114-L122 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L87-L91 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-23884 advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23884.json advisory
- https://access.redhat.com/errata/RHSA-2026:2714 advisory
- https://access.redhat.com/errata/RHSA-2026:3039 advisory
- https://access.redhat.com/errata/RHSA-2026:3038 advisory
- https://access.redhat.com/errata/RHSA-2026:3041 advisory
- https://access.redhat.com/errata/RHSA-2026:2770 advisory
- https://access.redhat.com/errata/RHSA-2026:2048 advisory
- RHBZ#2430880 issue
- https://access.redhat.com/errata/RHSA-2026:2952 advisory
- https://access.redhat.com/errata/RHSA-2026:2222 advisory
- https://access.redhat.com/errata/RHSA-2026:2081 advisory
- https://access.redhat.com/errata/RHSA-2026:3036 advisory
- https://access.redhat.com/errata/RHSA-2026:2824 advisory
- https://access.redhat.com/errata/RHSA-2026:2736 advisory
- https://access.redhat.com/errata/RHSA-2026:3037 advisory