CVE-2026-64620
FreeRDP: FreeRDP: Remote code execution or denial of service via heap-based buffer overflow
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alma 10 | freerdp, freerdp-devel, freerdp-libs and 3 more | 2:3.10.3-12.el10_2.8 |
| amazon linux 2023 | freerdp, freerdp-debuginfo, freerdp-debugsource and 8 more | 2:3.6.3-1.amzn2023.0.14 |
| debian 11 | freerdp2 | no fix listed |
| debian 12 | freerdp2 | no fix listed |
| debian 13 | freerdp3 | no fix listed |
| debian 14 | freerdp3 | 3.28.0+dfsg-1 |
| echo | freerdp2, freerdp3 | no fix listed |
| rapidfort alma 10 | freerdp, freerdp-devel, freerdp-libs and 3 more | 2:3.10.3-12.el10_2.8 |
| rapidfort alpine 3.20 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.21 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.22 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.23 | freerdp | 3.29.0-r0 |
Show all 65 entries from 22 sources
| Source | Package | Fixed in |
|---|---|---|
| alma 10 | freerdp | 2:3.10.3-12.el10_2.8 |
| alma 10 | freerdp-devel | 2:3.10.3-12.el10_2.8 |
| alma 10 | freerdp-libs | 2:3.10.3-12.el10_2.8 |
| alma 10 | freerdp-server | 2:3.10.3-12.el10_2.8 |
| alma 10 | libwinpr | 2:3.10.3-12.el10_2.8 |
| alma 10 | libwinpr-devel | 2:3.10.3-12.el10_2.8 |
| amazon linux 2023 | freerdp | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-debuginfo | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-debugsource | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-devel | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-libs | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-libs-debuginfo | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-server | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | freerdp-server-debuginfo | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | libwinpr | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | libwinpr-debuginfo | 2:3.6.3-1.amzn2023.0.14 |
| amazon linux 2023 | libwinpr-devel | 2:3.6.3-1.amzn2023.0.14 |
| debian 11 | freerdp2 | no fix listed |
| debian 12 | freerdp2 | no fix listed |
| debian 13 | freerdp3 | no fix listed |
| debian 14 | freerdp3 | 3.28.0+dfsg-1 |
| echo | freerdp2 | no fix listed |
| echo | freerdp3 | no fix listed |
| rapidfort alma 10 | freerdp | 2:3.10.3-12.el10_2.8 |
| rapidfort alma 10 | freerdp-devel | 2:3.10.3-12.el10_2.8 |
| rapidfort alma 10 | freerdp-libs | 2:3.10.3-12.el10_2.8 |
| rapidfort alma 10 | freerdp-server | 2:3.10.3-12.el10_2.8 |
| rapidfort alma 10 | libwinpr | 2:3.10.3-12.el10_2.8 |
| rapidfort alma 10 | libwinpr-devel | 2:3.10.3-12.el10_2.8 |
| rapidfort alpine 3.20 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.21 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.22 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.23 | freerdp | 3.29.0-r0 |
| rapidfort alpine 3.24 | freerdp | 3.29.0-r0 |
| rapidfort amazon linux 2023 | freerdp | 2:3.6.3-1.amzn2023.0.14 |
| rapidfort amazon linux 2023 | freerdp-devel | 2:3.6.3-1.amzn2023.0.14 |
| rapidfort amazon linux 2023 | freerdp-libs | 2:3.6.3-1.amzn2023.0.14 |
| rapidfort amazon linux 2023 | freerdp-server | 2:3.6.3-1.amzn2023.0.14 |
| rapidfort amazon linux 2023 | libwinpr | 2:3.6.3-1.amzn2023.0.14 |
| rapidfort amazon linux 2023 | libwinpr-devel | 2:3.6.3-1.amzn2023.0.14 |
| rapidfort debian 12 | freerdp2 | no fix listed |
| rapidfort debian 12 | freerdp3 | 0:3.28.0+dfsg-1 |
| rapidfort debian 13 | freerdp2 | no fix listed |
| rapidfort debian 13 | freerdp3 | 0:3.28.0+dfsg-1 |
| rapidfort fedora 43 | freerdp | 2:3.28.0-1.fc43 |
| rapidfort fedora 43 | freerdp-devel | 2:3.28.0-1.fc43 |
| rapidfort fedora 43 | freerdp-libs | 2:3.28.0-1.fc43 |
| rapidfort fedora 43 | freerdp-server | 2:3.28.0-1.fc43 |
| rapidfort fedora 43 | libwinpr | 2:3.28.0-1.fc43 |
| rapidfort fedora 43 | libwinpr-devel | 2:3.28.0-1.fc43 |
| rapidfort Oracle Linux 10 | freerdp | 2:3.10.3-12.el10_2.8 |
| rapidfort Oracle Linux 10 | freerdp-devel | 2:3.10.3-12.el10_2.8 |
| rapidfort Oracle Linux 10 | freerdp-libs | 2:3.10.3-12.el10_2.8 |
| rapidfort Oracle Linux 10 | freerdp-server | 2:3.10.3-12.el10_2.8 |
| rapidfort Oracle Linux 10 | libwinpr | 2:3.10.3-12.el10_2.8 |
| rapidfort Oracle Linux 10 | libwinpr-devel | 2:3.10.3-12.el10_2.8 |
| Red Hat | freerdp | no fix listed |
| Red Hat | freerdp-devel | no fix listed |
| Red Hat | freerdp-libs | no fix listed |
| Red Hat | freerdp-plugins | no fix listed |
| rocky 10 | freerdp | 0.0.0 |
| rocky 10 | freerdp-libs | 0.0.0 |
| rocky 10 | libwinpr | 0.0.0 |
| ubuntu 24.04 | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 |
| ubuntu 26.04 | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 |
References
- https://access.redhat.com/errata/RHSA-2026:54486
- https://access.redhat.com/security/cve/CVE-2026-64620
- https://bugzilla.redhat.com/2502752
- https://bugzilla.redhat.com/2502766
- https://bugzilla.redhat.com/2503096
- https://bugzilla.redhat.com/2509985
- https://bugzilla.redhat.com/2510004
- https://bugzilla.redhat.com/2510125
All 31 references
- https://bugzilla.redhat.com/show_bug.cgi?id=2502752
- https://bugzilla.redhat.com/show_bug.cgi?id=2502766
- https://bugzilla.redhat.com/show_bug.cgi?id=2503096
- https://bugzilla.redhat.com/show_bug.cgi?id=2509985
- https://bugzilla.redhat.com/show_bug.cgi?id=2510004
- https://bugzilla.redhat.com/show_bug.cgi?id=2510125
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-64620
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-64621
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-64624
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-67289
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-67299
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-68580
- https://errata.almalinux.org/10/ALSA-2026-54486.html
- https://errata.rockylinux.org/RLSA-2026:54486
- https://github.com/FreeRDP/FreeRDP/commit/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pjqx-v446-x7fc
- https://linux.oracle.com/cve/CVE-2026-64620.html
- https://linux.oracle.com/errata/ELSA-2026-54486.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-64620
- https://ubuntu.com/security/notices/USN-8410-1
- https://www.cve.org/CVERecord?id=CVE-2026-64620
- https://www.vulncheck.com/advisories/freerdp-before-heap-buffer-overflow-via-crypto-rsa-common