CVE & CISA-KEV Catalog

CVE-2021-41160

MEDIUMEPSS 72th pctl
5.3
CVSS v3
NVD

Description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a malicious server might trigger out of bound writes in a connected client. Connections using GDI 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 missing bounds checks allow writing to the pointer at this (not allocated) region. This issue has been patched in FreeRDP 2.4.1.

How to fix

Remediation Available
freerdp2Debian
Fixed in:2.3.0+dfsg1-2+deb11u2CVE-2021-41160
Fixed in:2.4.1+dfsg1-1CVE-2021-41160
freerdp2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.2USN-5154-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.2USN-5154-1
libfreerdp-client2-2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.2USN-5154-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.2USN-5154-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionNone
ScopeChanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N

Exploit Intelligence

1.55%probability of exploitation in 30 days
72ndpercentile

Elevated risk: more likely to be exploited than 72% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2021-41160
CVE-2021-41160 severity badge

Markdown

[![CVE-2021-41160](https://tridentstack.com/cve/badge/CVE-2021-41160.svg)](https://tridentstack.com/cve/CVE-2021-41160)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41160"><img src="https://tridentstack.com/cve/badge/CVE-2021-41160.svg" alt="CVE-2021-41160"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.