CVE-2023-40186 MEDIUM

CVE-2023-40186: IntegerOverflow leading to Out-Of-Bound Write Vulnerability in FreeRDP

Vendor Freerdp
Product FreeRDP
Weakness CWE-787
Published August 31, 2023
Last update November 3, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the `gdi_CreateSurface` function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.

Key dates

02Disclosure timeline

August 31, 2023 CVE published
November 3, 2025 Record updated