CVE-2026-64620
Received Received - Intake

Heap-based Buffer Overflow in FreeRDP

Vulnerability report for CVE-2026-64620, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-20

Last updated on: 2026-07-20

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-20
Last Modified
2026-07-20
Generated
2026-07-21
AI Q&A
2026-07-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
freerdp freerdp to 3.28.0 (exc)
freerdp freerdp to 3.27.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-64620 is a heap-based buffer overflow in FreeRDP versions up to 3.27.1. The flaw occurs in the crypto_rsa_common() function where modular exponentiation results are written to a fixed 32-byte buffer without proper bounds checking. An unauthenticated attacker can send a maliciously crafted ciphertext that decrypts to an oversized plaintext, overflowing the buffer by up to 224 bytes before the server checks the output length.

Detection Guidance

To detect this vulnerability, check the FreeRDP version on your system. Run: freerdp2-shadow --version or apt show freerdp2-x11 for Debian-based systems. If the version is <=3.27.1, the system is vulnerable.

Impact Analysis

This vulnerability allows an unauthenticated attacker to cause a denial of service by crashing the FreeRDP server process. The attacker can exploit it during key establishment when a client selects RDP Standard Security, potentially leading to remote code execution due to heap corruption. Systems using vulnerable FreeRDP versions are at risk of service disruption.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling unauthorized access to sensitive data during RDP sessions. The heap overflow may allow attackers to execute arbitrary code or cause denial of service, potentially leading to data breaches or unauthorized system access. Such incidents could violate GDPR's data protection requirements or HIPAA's safeguards for protected health information.

Mitigation Strategies

Upgrade FreeRDP to version 3.28.0 or later immediately. Apply patches from FreeRDP's official repository or use your package manager to update. Disable RDP Standard Security if possible as a temporary workaround.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64620. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart