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

Medium 6.5 Published Updated

An integer overflow in FreeRDP clients allows out-of-bounds writes, potentially enabling remote code execution; users should upgrade to patched versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-40186?

CVE-2023-40186 is a medium-severity vulnerability in Debian Debian Linux, published on 31 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-787, CWE-190

Which versions are affected by CVE-2023-40186?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Freerdp Freerdp.

How do I fix CVE-2023-40186?

Upgrade to a fixed version.

Is CVE-2023-40186 being exploited?

There is no known exploitation of CVE-2023-40186 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-40186, GHSA-hcj4-3c3r-5j3v, UBUNTU-CVE-2023-40186.

Is CVE-2023-40186 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free