Vulnerabilities / CVE-2026-64620

critical

CVE-2026-64620

FreeRDP: FreeRDP: Remote code execution or denial of service via heap-based buffer overflow

Published Modified CWE 122
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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

SourcePackageFixed in
alma 10freerdp, freerdp-devel, freerdp-libs and 3 more2:3.10.3-12.el10_2.8
amazon linux 2023freerdp, freerdp-debuginfo, freerdp-debugsource and 8 more2:3.6.3-1.amzn2023.0.14
debian 11freerdp2no fix listed
debian 12freerdp2no fix listed
debian 13freerdp3no fix listed
debian 14freerdp33.28.0+dfsg-1
echofreerdp2, freerdp3no fix listed
rapidfort alma 10freerdp, freerdp-devel, freerdp-libs and 3 more2:3.10.3-12.el10_2.8
rapidfort alpine 3.20freerdp3.29.0-r0
rapidfort alpine 3.21freerdp3.29.0-r0
rapidfort alpine 3.22freerdp3.29.0-r0
rapidfort alpine 3.23freerdp3.29.0-r0
Show all 65 entries from 22 sources
SourcePackageFixed in
alma 10freerdp2:3.10.3-12.el10_2.8
alma 10freerdp-devel2:3.10.3-12.el10_2.8
alma 10freerdp-libs2:3.10.3-12.el10_2.8
alma 10freerdp-server2:3.10.3-12.el10_2.8
alma 10libwinpr2:3.10.3-12.el10_2.8
alma 10libwinpr-devel2:3.10.3-12.el10_2.8
amazon linux 2023freerdp2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-debuginfo2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-debugsource2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-libs-debuginfo2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-server2:3.6.3-1.amzn2023.0.14
amazon linux 2023freerdp-server-debuginfo2:3.6.3-1.amzn2023.0.14
amazon linux 2023libwinpr2:3.6.3-1.amzn2023.0.14
amazon linux 2023libwinpr-debuginfo2:3.6.3-1.amzn2023.0.14
amazon linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.14
debian 11freerdp2no fix listed
debian 12freerdp2no fix listed
debian 13freerdp3no fix listed
debian 14freerdp33.28.0+dfsg-1
echofreerdp2no fix listed
echofreerdp3no fix listed
rapidfort alma 10freerdp2:3.10.3-12.el10_2.8
rapidfort alma 10freerdp-devel2:3.10.3-12.el10_2.8
rapidfort alma 10freerdp-libs2:3.10.3-12.el10_2.8
rapidfort alma 10freerdp-server2:3.10.3-12.el10_2.8
rapidfort alma 10libwinpr2:3.10.3-12.el10_2.8
rapidfort alma 10libwinpr-devel2:3.10.3-12.el10_2.8
rapidfort alpine 3.20freerdp3.29.0-r0
rapidfort alpine 3.21freerdp3.29.0-r0
rapidfort alpine 3.22freerdp3.29.0-r0
rapidfort alpine 3.23freerdp3.29.0-r0
rapidfort alpine 3.24freerdp3.29.0-r0
rapidfort amazon linux 2023freerdp2:3.6.3-1.amzn2023.0.14
rapidfort amazon linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.14
rapidfort amazon linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.14
rapidfort amazon linux 2023freerdp-server2:3.6.3-1.amzn2023.0.14
rapidfort amazon linux 2023libwinpr2:3.6.3-1.amzn2023.0.14
rapidfort amazon linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.14
rapidfort debian 12freerdp2no fix listed
rapidfort debian 12freerdp30:3.28.0+dfsg-1
rapidfort debian 13freerdp2no fix listed
rapidfort debian 13freerdp30:3.28.0+dfsg-1
rapidfort fedora 43freerdp2:3.28.0-1.fc43
rapidfort fedora 43freerdp-devel2:3.28.0-1.fc43
rapidfort fedora 43freerdp-libs2:3.28.0-1.fc43
rapidfort fedora 43freerdp-server2:3.28.0-1.fc43
rapidfort fedora 43libwinpr2:3.28.0-1.fc43
rapidfort fedora 43libwinpr-devel2:3.28.0-1.fc43
rapidfort Oracle Linux 10freerdp2:3.10.3-12.el10_2.8
rapidfort Oracle Linux 10freerdp-devel2:3.10.3-12.el10_2.8
rapidfort Oracle Linux 10freerdp-libs2:3.10.3-12.el10_2.8
rapidfort Oracle Linux 10freerdp-server2:3.10.3-12.el10_2.8
rapidfort Oracle Linux 10libwinpr2:3.10.3-12.el10_2.8
rapidfort Oracle Linux 10libwinpr-devel2:3.10.3-12.el10_2.8
Red Hatfreerdpno fix listed
Red Hatfreerdp-develno fix listed
Red Hatfreerdp-libsno fix listed
Red Hatfreerdp-pluginsno fix listed
rocky 10freerdp0.0.0
rocky 10freerdp-libs0.0.0
rocky 10libwinpr0.0.0
ubuntu 24.04freerdp33.30.0+dfsg-0ubuntu0.24.04.1
ubuntu 26.04freerdp33.30.0+dfsg-0ubuntu0.26.04.1

References

All 31 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.