# CVE-2020-4032: freerdp2-shadow-x11: In FreeRDP before version 2.1.2, there is an integer casting vulnerability in update_recv_secondary_order

CVE-2020-4032 is fixed in 12 products on 1 platform, first by freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.18.04.1, released July 27, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-4032
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0189
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 22, 2020

## Description

In FreeRDP before version 2.1.2, there is an integer casting vulnerability in update_recv_secondary_order. All clients with +glyph-cache /relax-order-checks are affected. This is fixed in version 2.1.2.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | freerdp2-shadow-x11 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-freerdp2-shadow-x11-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | freerdp2-shadow-x11 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-freerdp2-shadow-x11-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | freerdp2-wayland Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [freerdp2-wayland 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-freerdp2-wayland-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | freerdp2-wayland Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [freerdp2-wayland 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-freerdp2-wayland-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | freerdp2-x11 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [freerdp2-x11 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-freerdp2-x11-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | freerdp2-x11 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [freerdp2-x11 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-freerdp2-x11-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-client2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libfreerdp-client2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-client2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-client2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libfreerdp-client2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-client2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-server2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libfreerdp-server2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-server2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-server2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libfreerdp-server2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-server2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-shadow-subsystem2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libfreerdp-shadow-subsystem2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-shadow-subsystem2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-shadow-subsystem2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libfreerdp-shadow-subsystem2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-shadow-subsystem2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-shadow2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libfreerdp-shadow2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp-shadow2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp-shadow2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libfreerdp-shadow2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp-shadow2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libfreerdp2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfreerdp2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libfreerdp2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libfreerdp2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfreerdp2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libuwac0-0 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libuwac0-0 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libuwac0-0-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libuwac0-0 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libuwac0-0 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libuwac0-0-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libwinpr-tools2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libwinpr-tools2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwinpr-tools2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libwinpr-tools2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libwinpr-tools2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwinpr-tools2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | libwinpr2-2 Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [libwinpr2-2 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libwinpr2-2-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | libwinpr2-2 Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [libwinpr2-2 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwinpr2-2-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |
| Linux | winpr-utils Ubuntu 18.04.6 LTS (bionic) | 2.2.0+dfsg1-0ubuntu0.18.04.1 | [winpr-utils 2.2.0+dfsg1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-winpr-utils-2.2.0-dfsg1-0ubuntu0.18.04.1.md) | Jul 27, 2020 |
| Linux | winpr-utils Ubuntu 20.04 LTS (focal) | 2.2.0+dfsg1-0ubuntu0.20.04.1 | [winpr-utils 2.2.0+dfsg1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-winpr-utils-2.2.0-dfsg1-0ubuntu0.20.04.1.md) | Jul 27, 2020 |

---

Data as of 2026-11-07T18:46:35Z 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.
