CVE-2021-41160

Improper region checks in FreeRDP allow out of bound write to memory

Published Oct 21, 2021 CVSS 3.1 · 5.3 Medium EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3654-1 freerdp2 security update
Debian DLA Debian DLA DLA-4053-1 freerdp2 security update
EUVD EUVD EUVD-2021-28270 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.
Ubuntu USN Ubuntu USN USN-5154-1 FreeRDP vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00133}

epss

{'score': 0.00122}

Type Values Removed Values Added
Metrics epss

{'score': 0.00095}

epss

{'score': 0.00133}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 8:33 PM
Reserved
Sep 15, 2021, 12:00 AM
Status
Modified
Published
Oct 21, 2021, 7:15 PM
Modified
Jun 17, 2026, 4:07 AM
Severity
Important
Public date
Oct 21, 2021, 12:00 AM