CVE-2026-121958FreeRDP before 3.32.2 Heap Out-of-Bounds Write via RDPGFX HashTable_GetKeys
FreeRDP before 3.32.2 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | freerdp | Fix pending | UBUNTU-CVE-2026-121958 | |
| Ubuntu 16.04 | freerdp | Fix pending | UBUNTU-CVE-2026-121958 | |
| Debian 14 | freerdp3 | Fixed | 3.32.2+dfsg-1 | DEBIAN-CVE-2026-121958 |
| Debian 13 | freerdp3 | Fix pending | DEBIAN-CVE-2026-121958 | |
| Debian 12 | freerdp2 | Fix pending | DEBIAN-CVE-2026-121958 | |
| Red Hat Enterprise Linux 10 | freerdp | Fixed | 2:3.32.2-1.el10_2 | RHSA-2026:98598 |
| Red Hat Enterprise Linux 10 | freerdp-devel | Fixed | 2:3.32.2-1.el10_2 | RHSA-2026:98598 |
| Red Hat Enterprise Linux 10 | freerdp-libs | Fixed | 2:3.32.2-1.el10_3 | RHSA-2026:94514 |
| Red Hat Enterprise Linux 10 | freerdp-server | Fixed | 2:3.32.2-1.el10_2 | RHSA-2026:98598 |
| Red Hat Enterprise Linux 10 | libwinpr | Fixed | 2:3.32.2-1.el10_2 | RHSA-2026:98598 |
| Red Hat Enterprise Linux 10 | libwinpr-devel | Fixed | 2:3.32.2-1.el10_2 | RHSA-2026:98598 |
| Red Hat Enterprise Linux 9 | freerdp | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | freerdp-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | freerdp-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | libwinpr | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | libwinpr-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | freerdp | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | freerdp-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | freerdp-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | libwinpr | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | libwinpr-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | freerdp | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | freerdp-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | freerdp-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | freerdp-plugins | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libwinpr | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libwinpr-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp-plugins | Not affected | ||
| AlmaLinux 10 | freerdp | Fixed | 2:3.32.2-1.el10_3 | ALSA-2026:94514 |
| AlmaLinux 10 | freerdp-devel | Fixed | 2:3.32.2-1.el10_2 | ALSA-2026:98598 |
| AlmaLinux 10 | freerdp-libs | Fixed | 2:3.32.2-1.el10_2 | ALSA-2026:98598 |
| AlmaLinux 10 | freerdp-server | Fixed | 2:3.32.2-1.el10_3 | ALSA-2026:94514 |
| AlmaLinux 10 | libwinpr | Fixed | 2:3.32.2-1.el10_3 | ALSA-2026:94514 |
| AlmaLinux 10 | libwinpr-devel | Fixed | 2:3.32.2-1.el10_2 | ALSA-2026:98598 |
| Rocky Linux 10 | freerdp | Fixed | 2:3.32.2-1.el10_2 | RLSA-2026:98598 |
| Rocky Linux 10 | freerdp-devel | Fixed | 2:3.32.2-1.el10_2 | RLSA-2026:98598 |
| Rocky Linux 10 | freerdp-libs | Fixed | 2:3.32.2-1.el10_2 | RLSA-2026:98598 |
| Rocky Linux 10 | freerdp-server | Fixed | 2:3.32.2-1.el10_2 | RLSA-2026:98598 |
| Rocky Linux 10 | libwinpr | Fixed | 2:3.32.2-1.el10_2 | RLSA-2026:98598 |
| Rocky Linux 10 | libwinpr-devel | Fixed | 2:3.32.2-1.el10_2 | RLSA-2026:98598 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FreeRDP: affected: before 3.32.2; fixed in
3.32.2
Vendor advisories:
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57
- https://www.vulncheck.com/advisories/freerdp-through-3.32.1-heap-out-of-bounds-write-via-rdpgfx-hashtable-getkeys
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.