CVE-2026-64620

published 20 Jul 2026 · updated 21 Jul 2026

FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.28.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeRDP<3.28.03.28.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-64620 severity on Zeptric[![CVE-2026-64620](https://zeptric.io/badge/cve/CVE-2026-64620.svg)](https://zeptric.io/cve/CVE-2026-64620)