CVE-2026-64620FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common
FreeRDP before 3.28.0 (affected <=3.27.1) contains a heap-based buffer overflow in crypto_rsa_common() (libfreerdp/crypto/crypto.c). The function writes the modular-exponentiation result into the caller's output buffer via BN_bn2bin() and only afterward checks output_length > out_length, so out-of-bounds bytes are written before the bounds check. On the server side, when a client selects RDP Standard Security, the encrypted client random is decrypted into a fixed 32-byte buffer. Because the server publishes its RSA public key, an unauthenticated attacker can forge a ciphertext whose decrypted value is up to the full modulus length (e.g. 256 bytes for RSA-2048), overflowing the 32-byte heap buffer by up to ~224 attacker-controlled bytes pre-authentication, resulting in denial of service.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, 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 26.04 | freerdp3 | Fixed | 3.30.0+dfsg-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-64620 |
| Ubuntu 24.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-64620 | |
| Ubuntu 24.04 | freerdp3 | Fixed | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-64620 |
| Ubuntu 22.04 | freerdp2 | Under investigation | UBUNTU-CVE-2026-64620 | |
| Ubuntu 20.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-64620 | |
| Ubuntu 18.04 | freerdp | Fix pending | UBUNTU-CVE-2026-64620 | |
| Ubuntu 18.04 | freerdp2 | Fix pending | UBUNTU-CVE-2026-64620 | |
| Ubuntu 16.04 | freerdp | Fix pending | UBUNTU-CVE-2026-64620 | |
| Debian 14 | freerdp3 | Fixed | 3.28.0+dfsg-1 | DEBIAN-CVE-2026-64620 |
| Debian 13 | freerdp3 | Fix pending | DEBIAN-CVE-2026-64620 | |
| Debian 12 | freerdp2 | Fix pending | DEBIAN-CVE-2026-64620 | |
| Red Hat Enterprise Linux 10 | freerdp | Fixed | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
| Red Hat Enterprise Linux 10 | freerdp-devel | Fixed | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
| Red Hat Enterprise Linux 10 | freerdp-libs | Fixed | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
| Red Hat Enterprise Linux 10 | freerdp-server | Fixed | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
| Red Hat Enterprise Linux 10 | libwinpr | Fixed | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
| Red Hat Enterprise Linux 10 | libwinpr-devel | Fixed | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
| Red Hat Enterprise Linux 9 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 9 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | libwinpr | Not affected | ||
| Red Hat Enterprise Linux 9 | libwinpr-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 8 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | libwinpr | Not affected | ||
| Red Hat Enterprise Linux 8 | libwinpr-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 7 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | freerdp-plugins | Not affected | ||
| Red Hat Enterprise Linux 7 | libwinpr | Not affected | ||
| Red Hat Enterprise Linux 7 | libwinpr-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | freerdp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-plugins | Will not fix Out of support scope | ||
| AlmaLinux 10 | freerdp | Fixed | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux 10 | freerdp-devel | Fixed | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux 10 | freerdp-libs | Fixed | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux 10 | freerdp-server | Fixed | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux 10 | libwinpr | Fixed | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux 10 | libwinpr-devel | Fixed | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| Rocky Linux 10 | freerdp | Fixed | 2:3.10.3-12.el10_2.8 | RLSA-2026:54486 |
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.28.0, 3.28.0 not affected; fixed in
3.28.0
Vendor advisories:
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc (vendor-advisory)
- https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef (patch)
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc
- https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef
- https://www.vulncheck.com/advisories/freerdp-before-heap-buffer-overflow-via-crypto-rsa-common
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.