VDB

CVE-2021-41160

CVE-2021-41160 PUBLISHED CVSS 5.3 MEDIUM

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

Reported by github_m · Published October 21, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
freerdpAmazon Linux2.1.1-5.amzn2
libwinpr-develAmazon Linux2.1.1-5.amzn2
freerdpArch Linux2:2.4.1-1
libwinprAmazon Linux2.1.1-5.amzn2
freerdpfreerdp2.4.1

Risk scores

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

Affected products

VendorProductVersions
FreeRDPFreeRDP< 2.4.1
amazon:2freerdp0
amazon:2libwinpr-devel0
archfreerdp0
amazon:2libwinpr0
amazon:2freerdp-libs0
alpinefreerdp20
FreeRDPFreeRDP0
amazon:2freerdp-devel0
alpinefreerdp0

Timeline

  • Oct 21, 2021 CVE Published
  • Oct 22, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory
  • Jul 21, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-41160
vulnetix vdb fixes CVE-2021-41160

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-41160/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›