Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-64620 EUVD-2026-45935GHSA-xmhx-cqxp-qrgq

FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common

Published Jul 20, 2026 · Updated Jul 21, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
FreeRDP FreeRDP < 3.28.0 3.28.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 freerdp3 3.28.0+dfsg-1 —
Debian 13 freerdp3 No fix yet —
Debian 12 freerdp2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS freerdp3 3.30.0+dfsg-0ubuntu0.26.04.1 —
Ubuntu 24.04 LTS freerdp3 3.30.0+dfsg-0ubuntu0.24.04.1 —
Ubuntu 22.04 LTS freerdp2 No fix yet —
Ubuntu 18.04 LTS freerdp No fix yet —
Ubuntu 16.04 LTS freerdp No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS freerdp2 No fix yet —
Ubuntu Pro 20.04 LTS freerdp2 No fix yet —
Ubuntu Pro 18.04 LTS freerdp2 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 freerdp +5 2:3.10.3-12.el10_2.8 RHSA-2026:54486
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS freerdp +5 2:3.10.3-3.el10_0.11 RHSA-2026:58711

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 freerdp +5 2:3.10.3-12.el10_2.8 ALSA-2026:54486

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 freerdp 2:3.10.3-12.el10_2.8 RLSA-2026:54486

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 freerdp +5 2:3.6.3-1.amzn2023.0.14 ALAS2023-2026-2053

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 freerdp +5 2:3.10.3-12.el10_2.8 ELSA-2026-54486

Advisories 7

References