Description
FreeRDP versions before 3.31.0 fail to validate MonitorIds array values when parsing RDP connection files, allowing unbounded array indexing in xf_detect_monitors. Attackers can craft a malicious RDP file with an out-of-range selectedmonitors value to trigger out-of-bounds heap read and write operations when opened in xfreerdp.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeRDP | FreeRDP | 3.11.0 – < 3.31.0 | 3.31.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.31.0+dfsg-1 | — |
| Debian 13 | freerdp3 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | freerdp3 | 3.31.0+dfsg-0ubuntu0.26.04.1 | — |
| Ubuntu 24.04 LTS | freerdp3 | 3.31.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 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | freerdp +5 | 2:3.31.0-1.amzn2023 | ALAS2023-2026-2142 |
| Amazon Linux 2 | freerdp +4 | 2:2.11.7-1.amzn2.0.16 | ALAS2-2026-3938 |
Advisories 3
- WID-SEC-2026-3057 FreeRDP: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 11, 2026
- ALAS2-2026-3938 Important: freerdp security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- ALAS2023-2026-2142 Important: freerdp security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 21, 2026
References
- GitHub Security Advisory (GHSA-23pf-q83q-x45r) vendor-advisory
- VulnCheck Advisory: FreeRDP 3.11.0 through 3.30.0 Heap Buffer Overflow via Monitor Index third-party-advisory