{"id":"CVE-2021-41160","published":"2021-10-21T00:00:00Z","modified":"2025-11-03T20:33:53Z","title":"Improper region checks in FreeRDP allow out of bound write to memory","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01662,"percentile":0.76609,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7c9r-6r2q-93qg","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXCR73EDVPLI6TRWRAWJCJ7OBYDKBB74/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WIZUPVRGCWUDAPDOQVUGUIYUO7UWKMXX/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202210-24","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00010.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html","tags":[]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":15.32},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-12-28","earliestUrl":"https://github.com/Jajangjaman/CVE-2021-41160","repos":[{"name":"Jajangjaman/CVE-2021-41160","url":"https://github.com/Jajangjaman/CVE-2021-41160","stars":0,"created":"2022-12-28"}]},"first":{"date":"2022-12-28","source":"PoC-in-GitHub","url":"https://github.com/Jajangjaman/CVE-2021-41160"},"provenance":"source"},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["< 2.4.1"]}],"euvd":{"id":"EUVD-2021-28270","exploited":false,"provenance":"source"}}