CVE-2021-41160

freerdp2-shadow-x11: FreeRDP is a free implementation of the Remote Desktop Protocol (RDP),released under the Apache license

CVE-2021-41160 is fixed in 26 products on 1 platform, first by freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.18.04.2, released October 21, 2021. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.8
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0166
76th percentile

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP),released under the Apache license. In affected versions a malicious servermight trigger out of bound writes in a connected client. Connections usingGDI or SurfaceCommands to send graphics updates to the client might send`0` width/height or out of bound rectangles to trigger out of bound writes.With `0` width or heigth the memory allocation will be `0` but the missingbounds checks allow writing to the pointer at this (not allocated) region.This issue has been patched in FreeRDP 2.4.1.

Where it's fixed

ProductFixed inFixReleased
Linux
freerdp · RHEL 8 2:2.2.0-7.el8_5 RHSA-2021:4622 Nov 11, 2021
freerdp · almalinux 8 2:2.2.0-7.el8_5 ALSA-2021:4622 Nov 11, 2021
freerdp · ol 8 2:2.2.0-7.el8_5 ELSA-2021-4622 Nov 18, 2021
freerdp · rocky 8 2:2.2.0-7.el8_5 RLSA-2021:4622 Nov 11, 2021
freerdp-devel · RHEL 8 2:2.2.0-7.el8_5 RHSA-2021:4622 Nov 11, 2021
freerdp-devel · almalinux 8 2:2.2.0-7.el8_5 ALSA-2021:4622 Nov 11, 2021
freerdp-devel · ol 8 2:2.2.0-7.el8_5 ELSA-2021-4622 Nov 18, 2021
freerdp-libs · RHEL 8 2:2.2.0-7.el8_5 RHSA-2021:4622 Nov 11, 2021
freerdp-libs · almalinux 8 2:2.2.0-7.el8_5 ALSA-2021:4622 Nov 11, 2021
freerdp-libs · ol 8 2:2.2.0-7.el8_5 ELSA-2021-4622 Nov 18, 2021
freerdp2 · Debian 11.6 (bullseye) 2.3.0+dfsg1-2+deb11u2 DLA-4053-1 Feb 15, 2025
freerdp2-shadow-x11 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
freerdp2-shadow-x11 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 freerdp2-shadow-x11 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
freerdp2-shadow-x11 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 freerdp2-shadow-x11 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
freerdp2-shadow-x11 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 freerdp2-shadow-x11 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
freerdp2-shadow-x11 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 freerdp2-shadow-x11 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
freerdp2-wayland · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 freerdp2-wayland 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
freerdp2-wayland · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 freerdp2-wayland 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
freerdp2-wayland · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 freerdp2-wayland 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
freerdp2-wayland · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 freerdp2-wayland 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
freerdp2-wayland · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 freerdp2-wayland 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
freerdp2-x11 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 freerdp2-x11 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
freerdp2-x11 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 freerdp2-x11 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
freerdp2-x11 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 freerdp2-x11 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
freerdp2-x11 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 freerdp2-x11 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
freerdp2-x11 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 freerdp2-x11 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-client2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libfreerdp-client2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libfreerdp-client2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libfreerdp-client2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libfreerdp-client2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libfreerdp-client2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libfreerdp-client2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libfreerdp-client2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-client2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libfreerdp-client2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-server2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libfreerdp-server2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libfreerdp-server2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libfreerdp-server2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libfreerdp-server2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libfreerdp-server2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libfreerdp-server2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libfreerdp-server2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-server2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libfreerdp-server2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-shadow-subsystem2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libfreerdp-shadow-subsystem2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libfreerdp-shadow-subsystem2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libfreerdp-shadow-subsystem2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libfreerdp-shadow-subsystem2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libfreerdp-shadow-subsystem2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libfreerdp-shadow-subsystem2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libfreerdp-shadow-subsystem2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-shadow-subsystem2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libfreerdp-shadow-subsystem2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-shadow2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libfreerdp-shadow2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libfreerdp-shadow2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libfreerdp-shadow2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libfreerdp-shadow2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libfreerdp-shadow2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libfreerdp-shadow2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libfreerdp-shadow2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp-shadow2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libfreerdp-shadow2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libfreerdp2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libfreerdp2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libfreerdp2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libfreerdp2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libfreerdp2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libfreerdp2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libfreerdp2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libfreerdp2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libfreerdp2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libuwac0-0 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libuwac0-0 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libuwac0-0 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libuwac0-0 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libuwac0-0 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libuwac0-0 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libuwac0-0t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libuwac0-0t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libuwac0-0t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libuwac0-0t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libwinpr · RHEL 8 2:2.2.0-7.el8_5 RHSA-2021:4622 Nov 11, 2021
libwinpr · almalinux 8 2:2.2.0-7.el8_5 ALSA-2021:4622 Nov 11, 2021
libwinpr · ol 8 2:2.2.0-7.el8_5 ELSA-2021-4622 Nov 18, 2021
libwinpr-devel · RHEL 8 2:2.2.0-7.el8_5 RHSA-2021:4622 Nov 11, 2021
libwinpr-devel · almalinux 8 2:2.2.0-7.el8_5 ALSA-2021:4622 Nov 11, 2021
libwinpr-devel · ol 8 2:2.2.0-7.el8_5 ELSA-2021-4622 Nov 18, 2021
libwinpr-tools2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libwinpr-tools2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libwinpr-tools2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libwinpr-tools2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libwinpr-tools2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libwinpr-tools2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libwinpr-tools2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libwinpr-tools2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libwinpr-tools2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libwinpr-tools2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libwinpr2-2 · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 libwinpr2-2 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
libwinpr2-2 · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 libwinpr2-2 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
libwinpr2-2 · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 libwinpr2-2 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
libwinpr2-2t64 · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 libwinpr2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
libwinpr2-2t64 · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 libwinpr2-2t64 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
winpr-utils · Ubuntu 18.04.6 LTS (bionic) 2.2.0+dfsg1-0ubuntu0.18.04.2 winpr-utils 2.2.0+dfsg1-0ubuntu0.18.04.2 Oct 21, 2021
winpr-utils · Ubuntu 20.04 LTS (focal) 2.2.0+dfsg1-0ubuntu0.20.04.2 winpr-utils 2.2.0+dfsg1-0ubuntu0.20.04.2 Oct 21, 2021
winpr-utils · Ubuntu 22.04.1 LTS (jammy) 2.3.0+dfsg1-2ubuntu2 winpr-utils 2.3.0+dfsg1-2ubuntu2 Oct 21, 2021
winpr-utils · Ubuntu 24.10 (oracular) 2.3.0+dfsg1-2ubuntu2 winpr-utils 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026
winpr-utils · Ubuntu 25.04 (plucky) 2.3.0+dfsg1-2ubuntu2 winpr-utils 2.3.0+dfsg1-2ubuntu2 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.