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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.9%top 39.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:10freerdp2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux:10freerdp-devel2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux:10freerdp-libs2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux:10freerdp-server2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux:10libwinpr2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux:10libwinpr-devel2:3.10.3-12.el10_2.8ALSA-2026:54486
Debian:12freerdp2no fix listedDEBIAN-CVE-2026-64620
Debian:13freerdp3no fix listedDEBIAN-CVE-2026-64620
Debian:14freerdp33.28.0+dfsg-1DEBIAN-CVE-2026-64620
Rocky Linux:10freerdp2:3.10.3-12.el10_2.8RLSA-2026:54486
Ubuntu:22.04:LTSfreerdp2no fix listedUBUNTU-CVE-2026-64620
Ubuntu:24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-64620
Ubuntu:26.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.26.04.1UBUNTU-CVE-2026-64620

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP 0 – before 3.28.0

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References