CVEfocus › CVE database › CVE-2026-64620

CVE-2026-64620FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common

CVSS 9.8 CriticalEPSS 0.9% (higher than 58% of CVEs)Published 2026-07-20Updated 2026-07-21Assigner: VulnCheck

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.

CWE-122

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

16Fixed
7Fix pending
1Under investigation
4Will not fix
16Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04freerdp3Fixed3.30.0+dfsg-0ubuntu0.26.04.1UBUNTU-CVE-2026-64620
Ubuntu 24.04freerdp2Fix pendingUBUNTU-CVE-2026-64620
Ubuntu 24.04freerdp3Fixed3.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-64620
Ubuntu 22.04freerdp2Under investigationUBUNTU-CVE-2026-64620
Ubuntu 20.04freerdp2Fix pendingUBUNTU-CVE-2026-64620
Ubuntu 18.04freerdpFix pendingUBUNTU-CVE-2026-64620
Ubuntu 18.04freerdp2Fix pendingUBUNTU-CVE-2026-64620
Ubuntu 16.04freerdpFix pendingUBUNTU-CVE-2026-64620
Debian 14freerdp3Fixed3.28.0+dfsg-1DEBIAN-CVE-2026-64620
Debian 13freerdp3Fix pendingDEBIAN-CVE-2026-64620
Debian 12freerdp2Fix pendingDEBIAN-CVE-2026-64620
Red Hat Enterprise Linux 10freerdpFixed2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hat Enterprise Linux 10freerdp-develFixed2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hat Enterprise Linux 10freerdp-libsFixed2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hat Enterprise Linux 10freerdp-serverFixed2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hat Enterprise Linux 10libwinprFixed2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hat Enterprise Linux 10libwinpr-develFixed2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hat Enterprise Linux 9freerdpNot affected
Red Hat Enterprise Linux 9freerdp-develNot affected
Red Hat Enterprise Linux 9freerdp-libsNot affected
Red Hat Enterprise Linux 9libwinprNot affected
Red Hat Enterprise Linux 9libwinpr-develNot affected
Red Hat Enterprise Linux 8freerdpNot affected
Red Hat Enterprise Linux 8freerdp-develNot affected
Red Hat Enterprise Linux 8freerdp-libsNot affected
Red Hat Enterprise Linux 8libwinprNot affected
Red Hat Enterprise Linux 8libwinpr-develNot affected
Red Hat Enterprise Linux 7freerdpNot affected
Red Hat Enterprise Linux 7freerdp-develNot affected
Red Hat Enterprise Linux 7freerdp-libsNot affected
Red Hat Enterprise Linux 7freerdp-pluginsNot affected
Red Hat Enterprise Linux 7libwinprNot affected
Red Hat Enterprise Linux 7libwinpr-develNot affected
Red Hat Enterprise Linux 6freerdpWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-pluginsWill not fix
Out of support scope
AlmaLinux 10freerdpFixed2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux 10freerdp-develFixed2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux 10freerdp-libsFixed2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux 10freerdp-serverFixed2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux 10libwinprFixed2:3.10.3-12.el10_2.8ALSA-2026:54486
AlmaLinux 10libwinpr-develFixed2:3.10.3-12.el10_2.8ALSA-2026:54486
Rocky Linux 10freerdpFixed2:3.10.3-12.el10_2.8RLSA-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.

Vendor advisories:

References

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.