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

Published Aug 31, 2023
·
Updated

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 gdiCreateSurface 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.

Affected Software

16 affected componentsFixes available
ubuntu/freerdp2<2.2.0+dfsg1-0ubuntu0.18.04.4+
2.2.0+dfsg1-0ubuntu0.18.04.4+
ubuntu/freerdp2<2.2.0+dfsg1-0ubuntu0.20.04.5
2.2.0+dfsg1-0ubuntu0.20.04.5
ubuntu/freerdp2<2.6.1+dfsg1-3ubuntu2.4
2.6.1+dfsg1-3ubuntu2.4
ubuntu/freerdp2<2.10.0+dfsg1-1ubuntu0.2
2.10.0+dfsg1-1ubuntu0.2
ubuntu/freerdp2<2.10.0+dfsg1-1.1ubuntu1
2.10.0+dfsg1-1.1ubuntu1
ubuntu/freerdp2<2.11.0
2.11.0
redhat/freerdp<2.11.0
2.11.0
redhat/freerdp<3.0.0
3.0.0
debian/freerdp2<=2.3.0+dfsg1-2+deb11u1, <=2.10.0+dfsg1-1
2.11.5+dfsg1-12.11.7+dfsg1-2
FreeRDP freerdp<2.11.0
FreeRDP freerdp=3.0.0-beta1
FreeRDP freerdp=3.0.0-beta2
Debian Debian Linux=10.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Fedoraproject Fedora=39

Event History

Aug 31, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·09:13 PM
Data Sourced
via MITRE·09:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 20, 2024
Data Sourced
via Launchpad·12:26 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-40186?

CVE-2023-40186 is an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the `gdi_CreateSurface` function of FreeRDP.

2

Which software versions are affected by CVE-2023-40186?

Versions up to and excluding 2.11.0 of FreeRDP and version 3.0.0-beta1 and 3.0.0-beta2 of FreeRDP are affected by CVE-2023-40186.

3

What is the severity rating of CVE-2023-40186?

CVE-2023-40186 has a severity rating of 9.8 (Critical).

4

How can I fix CVE-2023-40186?

To fix CVE-2023-40186, update to FreeRDP version 2.11.2+dfsg1-1 or a later version as recommended by the vendor.

5

Is there any additional information available about CVE-2023-40186?

Additional information about CVE-2023-40186 can be found at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203