CVE-2021-41160

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

State
Published
Severity
5.3 Medium
Published
Oct 21, 2021
Updated
Nov 3, 2025
Reserved
Sep 15, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
FreeRDPFreeRDP
  • < 2.4.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.