CRITICAL🇵🇱 Wersja polska

CVE-2026-64620

CVSS 9.3v4.0pub. 2026-07-20upd. 2026-07-28

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 Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Freerdp

    APP
    Freerdp
    < 3.28.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Auth BypassDoSMemory
CWE
References

Related vulnerabilities

CVE-2026-64621CRITICAL9.3PL ✓same product

Double-free w FreeRDP przy parsowaniu pola selectedmonitors pliku .rdp

CVE-2026-31806CRITICAL9.3PL ✓same product

FreeRDP: heap buffer overflow w obsłudze NSCodec (gdi_surface_bits)

CVE-2024-32658CRITICAL9.8PL ✓same product

FreeRDP: out-of-bounds read w klientach przed wersją 3.5.1

CVE-2024-32659CRITICAL9.8PL ✓same product

FreeRDP: out-of-bounds read przy zerowych wymiarach obrazu (RDP)

CVE-2024-32039CRITICAL9.8PL ✓same product

FreeRDP: integer overflow i out-of-bounds write w obsłudze GFX