Bug 2502752 (CVE-2026-64620) - CVE-2026-64620 FreeRDP: FreeRDP: Remote code execution or denial of service via heap-based buffer overflow
Summary: CVE-2026-64620 FreeRDP: FreeRDP: Remote code execution or denial of service v...
Keywords:
Status: NEW
Alias: CVE-2026-64620
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2503156 2503157 2503158
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-20 13:01 UTC by OSIDB Bzimport
Modified: 2026-08-24 05:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:54486 0 None None None 2026-08-13 08:25:21 UTC
Red Hat Product Errata RHSA-2026:58711 0 None None None 2026-08-24 05:29:57 UTC

Description OSIDB Bzimport 2026-07-20 13:01:26 UTC
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.

Comment 3 errata-xmlrpc 2026-08-13 08:25:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:54486 https://access.redhat.com/errata/RHSA-2026:54486

Comment 4 errata-xmlrpc 2026-08-24 05:29:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:58711 https://access.redhat.com/errata/RHSA-2026:58711


Note You need to log in before you can comment on or make changes to this bug.