CVE & CISA-KEV Catalog

CVE-2023-40186

MEDIUM
6.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
freerdp2Debian
Fixed in:2.3.0+dfsg1-2+deb11u2CVE-2023-40186
Fixed in:2.11.7+dfsg1-6~deb12u1CVE-2023-40186
freerdpRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdpRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-debuginfoRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-debuginfoRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-debugsourceRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-debugsourceRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-develRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-develRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-libsRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-libsRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-libs-debuginfoRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp-libs-debuginfoRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
libwinprRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
libwinprRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
libwinpr-debuginfoRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
libwinpr-debuginfoRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
libwinpr-develRed Hat / RHEL
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
libwinpr-develRocky
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
Fixed in:2:2.11.2-1.el9RHSA-2024:2208
freerdp2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.4+esm1USN-6401-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.5USN-6401-1
Fixed in:2.6.1+dfsg1-3ubuntu2.4USN-6401-1
Fixed in:2.10.0+dfsg1-1ubuntu0.2USN-6401-1
libfreerdp2-2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.4+esm1USN-6401-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.5USN-6401-1
Fixed in:2.6.1+dfsg1-3ubuntu2.4USN-6401-1
Fixed in:2.10.0+dfsg1-1ubuntu0.2USN-6401-1
libwinpr2-2Ubuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.4+esm1USN-6401-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.5USN-6401-1
Fixed in:2.6.1+dfsg1-3ubuntu2.4USN-6401-1
libwinpr2-devUbuntu
Fixed in:2.2.0+dfsg1-0ubuntu0.18.04.4+esm1USN-6401-1
Fixed in:2.2.0+dfsg1-0ubuntu0.20.04.5USN-6401-1
Fixed in:2.6.1+dfsg1-3ubuntu2.4USN-6401-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityLow

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

Exploit Intelligence

1.15%probability of exploitation in 30 days
63rdpercentile

Moderate risk: more likely to be exploited than 63% of all known CVEs.

References

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2023-40186
CVE-2023-40186 severity badge

Markdown

[![CVE-2023-40186](https://tridentstack.com/cve/badge/CVE-2023-40186.svg)](https://tridentstack.com/cve/CVE-2023-40186)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-40186"><img src="https://tridentstack.com/cve/badge/CVE-2023-40186.svg" alt="CVE-2023-40186"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.