cve.bz

CVE-2026-64620 freerdp freerdp: Heap-based Buffer Overflow

9.3 criticalExploit referenceEPSS 0.9%Fix available

Critical (9.3) in freerdp freerdp. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

9.3 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-07-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-64620 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-64620?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-64620?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-64620 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FreeRDPbefore 3.28.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12freerdp2no fix listedDEBIAN-CVE-2026-64620
Debian13freerdp3no fix listedDEBIAN-CVE-2026-64620
Debian14freerdp33.28.0+dfsg-1DEBIAN-CVE-2026-64620
Ubuntu16.04:LTS, 18.04:LTSfreerdpno fix listedUBUNTU-CVE-2026-64620
Ubuntu22.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 morefreerdp2no fix listedUBUNTU-CVE-2026-64620
Ubuntu24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-64620
Ubuntu26.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.26.04.1UBUNTU-CVE-2026-64620
Red Hatenterprise_linux:10.2freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-12.el10_2.8RHSA-2026:54486
Red Hatenterprise_linux_eus:10.0freerdp, libwinpr, freerdp-libs and 8 more2:3.10.3-3.el10_0.11RHSA-2026:58711
AlmaLinux10freerdp, libwinpr, freerdp-libs and 3 more2:3.10.3-12.el10_2.8ALSA-2026:54486
Rocky Linux10freerdp2:3.10.3-12.el10_2.8RLSA-2026:54486

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An unauthenticated remote attacker can trigger a heap buffer overflow in FreeRDP by sending a crafted ciphertext during key establishment.

Red Hat rates this vulnerability as Important rather than Critical due to inherent mitigations in Red Hat environments. Specifically, RHEL's built-in memory defenses (such as glibc heap hardening) reliably reduce the threat of remote code execution down to a localized service crash (Denial of Service). Furthermore, the flaw is only reachable if an administrator explicitly configures the server to use the non-default, legacy "RDP Standard Security.

Red Hat's mitigation

To mitigate, explicitly disable legacy RDP Standard Security and enforce Network Level Authentication (NLA/TLS) on the server. Additionally, restrict network access to trusted clients via firewalls, or disable the FreeRDP service entirely if not needed, remembering to restart the service to apply any configuration changes.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10freerdp-2:3.10.3-12.el10_2.8Fixed 2026-08-13RHSA-2026:54486
Red Hat Enterprise Linux 10.0 Extended Update Supportfreerdp-2:3.10.3-3.el10_0.11Fixed 2026-08-24RHSA-2026:58711
Red Hat Enterprise Linux 6freerdpOut of support scope
Red Hat Enterprise Linux 7freerdpNot affected
Red Hat Enterprise Linux 8freerdpNot affected
Red Hat Enterprise Linux 9freerdpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-64620.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON