CVE-2021-41159
5.8 MEDIUMFreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license
Published: 2021-10-21 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 5.8 MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N
- CWE
- CWE-787
Affected products
| Vendor | Product |
|---|---|
| fedoraproject | fedora, freerdp |
| freerdp | fedora, freerdp |
Description
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. All FreeRDP clients prior to version 2.4.1 using gateway connections (`/gt:rpc`) fail to validate input data. A malicious gateway might allow client memory to be written out of bounds. This issue has been resolved in version 2.4.1. If you are unable to update then use `/gt:http` rather than /gt:rdp connections if possible or use a direct connection without a gateway.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-41159
- [Other]https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vh34-m9h7-95xq
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/
- [Other]https://security.gentoo.org/glsa/202210-24
- [Other]https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vh34-m9h7-95xq
- [Other]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/
- [Other]https://security.gentoo.org/glsa/202210-24
Related CVEs
Same vendor
- CVE-2026-45700 — FreeRDP is a free implementation of the Remote Desktop Protocol (9.8 CRITICAL)
- CVE-2026-44422 — FreeRDP is a free implementation of the Remote Desktop Protocol (7.5 HIGH)
- CVE-2026-44421 — FreeRDP is a free implementation of the Remote Desktop Protocol (8.8 HIGH)
- CVE-2026-44420 — FreeRDP is a free implementation of the Remote Desktop Protocol (8.8 HIGH)
- CVE-2026-40033 — FreeRDP before 3.26.0 contains a heap-buffer-overflow vulnerability in gdi_CacheToSurface that allows remote attackers to write out-of-bo... (8.8 HIGH)
Same CWE
- CVE-2026-47750 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-47747 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-47749 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-12314 — Memory safety bug fixed in Thunderbird 152 (7.5 HIGH)
- CVE-2026-12310 — Memory safety bug fixed in Thunderbird 152 (7.5 HIGH)