Vulnerability · Published Jul 20, 2026 · Assigned by VulnCheck
CVE-2026-64620FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common
Critical 9.8
In plain English
A critical-severity heap buffer overflow in FreeRDP from FreeRDP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | freerdp | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | freerdp-devel | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | freerdp-libs | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | freerdp-server | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | libwinpr | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| AlmaLinux:10 | libwinpr-devel | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-64620 |
| Debian:13 | freerdp3 | no fix listed | DEBIAN-CVE-2026-64620 |
| Debian:14 | freerdp3 | 3.28.0+dfsg-1 | DEBIAN-CVE-2026-64620 |
| Rocky Linux:10 | freerdp | 2:3.10.3-12.el10_2.8 | RLSA-2026:54486 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-64620 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-64620 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-64620 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-pjqx-v446-x7fc) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common third-party-advisory