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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeRDP | FreeRDP | < 3.28.0 | 3.28.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | freerdp3 | 3.28.0+dfsg-1 | — |
| Debian 13 | freerdp3 | No fix yet | — |
| Debian 12 | freerdp2 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | — |
| Ubuntu 24.04 LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | — |
| Ubuntu 22.04 LTS | freerdp2 | No fix yet | — |
| Ubuntu 18.04 LTS | freerdp | No fix yet | — |
| Ubuntu 16.04 LTS | freerdp | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | freerdp2 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | freerdp2 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | freerdp2 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | freerdp +5 | 2:3.10.3-12.el10_2.8 | RHSA-2026:54486 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | freerdp +5 | 2:3.10.3-3.el10_0.11 | RHSA-2026:58711 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | freerdp +5 | 2:3.10.3-12.el10_2.8 | ALSA-2026:54486 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | freerdp | 2:3.10.3-12.el10_2.8 | RLSA-2026:54486 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | freerdp +5 | 2:3.6.3-1.amzn2023.0.14 | ALAS2023-2026-2053 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | freerdp +5 | 2:3.10.3-12.el10_2.8 | ELSA-2026-54486 |
Advisories 7
- ALSA-2026:54486 Important: freerdp security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:58711 Red Hat Security Advisory: freerdp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- RHSA-2026:54486 Red Hat Security Advisory: freerdp security update Red Hat Security Advisories (RHSA) · Oct 3, 2026
- WID-SEC-2026-2209 FreeRDP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 28, 2026
- ALAS2023-2026-2053 Important: freerdp security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 17, 2026
- RLSA-2026:54486 Important: freerdp security update Rocky Linux Security Advisories · Aug 13, 2026
- ELSA-2026-54486 Important: freerdp security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Aug 13, 2026
References
- GitHub Security Advisory (GHSA-pjqx-v446-x7fc) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common third-party-advisory