# CVE-2023-40567: freerdp2: FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license

CVE-2023-40567 is fixed in 18 products on 1 platform, first by freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1, released August 31, 2023. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2023-40567
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0150
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 31, 2023

## Description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Write in the `clear_decompress_bands_data` function in which there is no offset validation. Abuse of this vulnerability may lead to an out of bounds write. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. there are no known workarounds for this vulnerability.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | freerdp RHEL 9 | 2:2.11.2-1.el9 | [RHSA-2024:2208](https://patchblox.com/security/data/fix/linux/rhsa-2024-2208.md) | Apr 30, 2024 |
| Linux | freerdp almalinux 9 | 2:2.11.2-1.el9 | [ALSA-2024:2208](https://patchblox.com/security/data/fix/linux/alsa-2024-2208.md) | Apr 30, 2024 |
| Linux | freerdp ol 9 | 2:2.11.2-1.el9 | [ELSA-2024-2208](https://patchblox.com/security/data/fix/linux/elsa-2024-2208.md) | May 2, 2024 |
| Linux | freerdp-devel RHEL 9 | 2:2.11.2-1.el9 | [RHSA-2024:2208](https://patchblox.com/security/data/fix/linux/rhsa-2024-2208.md) | Apr 30, 2024 |
| Linux | freerdp-devel almalinux 9 | 2:2.11.2-1.el9 | [ALSA-2024:2208](https://patchblox.com/security/data/fix/linux/alsa-2024-2208.md) | Apr 30, 2024 |
| Linux | freerdp-devel ol 9 | 2:2.11.2-1.el9 | [ELSA-2024-2208](https://patchblox.com/security/data/fix/linux/elsa-2024-2208.md) | May 2, 2024 |
| Linux | freerdp-libs RHEL 9 | 2:2.11.2-1.el9 | [RHSA-2024:2208](https://patchblox.com/security/data/fix/linux/rhsa-2024-2208.md) | Apr 30, 2024 |
| Linux | freerdp-libs almalinux 9 | 2:2.11.2-1.el9 | [ALSA-2024:2208](https://patchblox.com/security/data/fix/linux/alsa-2024-2208.md) | Apr 30, 2024 |
| Linux | freerdp-libs ol 9 | 2:2.11.2-1.el9 | [ELSA-2024-2208](https://patchblox.com/security/data/fix/linux/elsa-2024-2208.md) | May 2, 2024 |
| Linux | freerdp2 Debian 12.15 (bookworm) | 2.11.7+dfsg1-6~deb12u1 | [DEBIAN-CVE-2023-40567](https://patchblox.com/security/data/fix/linux/debian-cve-2023-40567.md) | Aug 31, 2023 |
| Linux | freerdp2-shadow-x11 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-freerdp2-shadow-x11-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | freerdp2-shadow-x11 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-freerdp2-shadow-x11-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | freerdp2-shadow-x11 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [freerdp2-shadow-x11 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-freerdp2-shadow-x11-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | freerdp2-wayland Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [freerdp2-wayland 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-freerdp2-wayland-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | freerdp2-wayland Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [freerdp2-wayland 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-freerdp2-wayland-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | freerdp2-wayland Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [freerdp2-wayland 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-freerdp2-wayland-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | freerdp2-x11 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [freerdp2-x11 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-freerdp2-x11-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | freerdp2-x11 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [freerdp2-x11 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-freerdp2-x11-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | freerdp2-x11 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [freerdp2-x11 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-freerdp2-x11-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libfreerdp-client2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libfreerdp-client2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-client2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libfreerdp-client2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libfreerdp-client2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-client2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libfreerdp-client2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libfreerdp-client2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libfreerdp-client2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libfreerdp-server2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libfreerdp-server2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-server2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libfreerdp-server2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libfreerdp-server2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-server2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libfreerdp-server2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libfreerdp-server2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libfreerdp-server2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libfreerdp-shadow-subsystem2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libfreerdp-shadow-subsystem2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-shadow-subsystem2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libfreerdp-shadow-subsystem2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libfreerdp-shadow-subsystem2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-shadow-subsystem2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libfreerdp-shadow-subsystem2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libfreerdp-shadow-subsystem2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libfreerdp-shadow-subsystem2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libfreerdp-shadow2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libfreerdp-shadow2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-shadow2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libfreerdp-shadow2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libfreerdp-shadow2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-shadow2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libfreerdp-shadow2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libfreerdp-shadow2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libfreerdp-shadow2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libfreerdp2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libfreerdp2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libfreerdp2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libfreerdp2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libfreerdp2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libfreerdp2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libfreerdp2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libuwac0-0 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libuwac0-0 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libuwac0-0-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libuwac0-0 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libuwac0-0 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libuwac0-0-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libuwac0-0 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libuwac0-0 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libuwac0-0-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libwinpr RHEL 9 | 2:2.11.2-1.el9 | [RHSA-2024:2208](https://patchblox.com/security/data/fix/linux/rhsa-2024-2208.md) | Apr 30, 2024 |
| Linux | libwinpr almalinux 9 | 2:2.11.2-1.el9 | [ALSA-2024:2208](https://patchblox.com/security/data/fix/linux/alsa-2024-2208.md) | Apr 30, 2024 |
| Linux | libwinpr ol 9 | 2:2.11.2-1.el9 | [ELSA-2024-2208](https://patchblox.com/security/data/fix/linux/elsa-2024-2208.md) | May 2, 2024 |
| Linux | libwinpr-devel RHEL 9 | 2:2.11.2-1.el9 | [RHSA-2024:2208](https://patchblox.com/security/data/fix/linux/rhsa-2024-2208.md) | Apr 30, 2024 |
| Linux | libwinpr-devel almalinux 9 | 2:2.11.2-1.el9 | [ALSA-2024:2208](https://patchblox.com/security/data/fix/linux/alsa-2024-2208.md) | Apr 30, 2024 |
| Linux | libwinpr-devel ol 9 | 2:2.11.2-1.el9 | [ELSA-2024-2208](https://patchblox.com/security/data/fix/linux/elsa-2024-2208.md) | May 2, 2024 |
| Linux | libwinpr-tools2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libwinpr-tools2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwinpr-tools2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libwinpr-tools2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libwinpr-tools2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwinpr-tools2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libwinpr-tools2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libwinpr-tools2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwinpr-tools2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | libwinpr2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [libwinpr2-2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwinpr2-2-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | libwinpr2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [libwinpr2-2 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwinpr2-2-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | libwinpr2-2 Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [libwinpr2-2 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libwinpr2-2-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |
| Linux | winpr-utils Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1 | [winpr-utils 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-winpr-utils-2.2.0-dfsg1-0ubuntu0.18.04.4-esm1.md) | Aug 31, 2023 |
| Linux | winpr-utils Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.5 | [winpr-utils 2.2.0+dfsg1-0ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-winpr-utils-2.2.0-dfsg1-0ubuntu0.20.04.5.md) | Aug 31, 2023 |
| Linux | winpr-utils Ubuntu 22.04.1 LTS (jammy) | 2.6.1+dfsg1-3ubuntu2.4 | [winpr-utils 2.6.1+dfsg1-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-winpr-utils-2.6.1-dfsg1-3ubuntu2.4.md) | Aug 31, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
