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

Published Jul 20, 2026
·
Updated

FreeRDP before 3.28.0 (affected <=3.27.1) contains a heap-based buffer overflow in cryptorsacommon() (libfreerdp/crypto/crypto.c). The function writes the modular-exponentiation result into the caller's output buffer via BNbn2bin() and only afterward checks outputlength > outlength, 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 Software

2 affected components
FreeRDP freerdp<3.28.0
FreeRDP freerdp<3.28.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FreeRDP (libfreerdp) to a version that resolves this vulnerability.

    Fixed in 3.28.0

Event History

Jul 20, 2026
CVE Published
via MITRE·12:04 PM
Data Sourced
via MITRE·12:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:19 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64620?

The severity of CVE-2026-64620 is critical with a score of 9.8.

2

What is the impact of CVE-2026-64620?

CVE-2026-64620 can lead to a heap-based buffer overflow that may allow an attacker to execute arbitrary code.

3

How do I fix CVE-2026-64620?

To fix CVE-2026-64620, upgrade to FreeRDP version 3.28.0 or later.

4

Which versions of FreeRDP are affected by CVE-2026-64620?

FreeRDP versions prior to 3.28.0, specifically up to 3.27.1, are affected by CVE-2026-64620.

5

What component of FreeRDP is vulnerable in CVE-2026-64620?

CVE-2026-64620 affects the crypto_rsa_common() function in the libfreerdp/crypto/crypto.c file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203