CVE-2023-40576 Out-Of-Bounds Read in FreeRDP

Medium 5.3 Published Updated

An out-of-bounds read in FreeRDP's RleDecompress function can cause application crashes, requiring users to upgrade to a patched version.

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-40576?

CVE-2023-40576 is a medium-severity memory corruption vulnerability in Freerdp Freerdp, 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 Out-Of-Bounds Read in the `RleDecompress` function. This Out-Of-Bounds Read occurs because FreeRDP processes the `pbSrcBuffer` variable without checking if it contains data of sufficient length. Insufficient data in the `pbSrcBuffer` variable may cause errors or crashes. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-125

Which versions are affected by CVE-2023-40576?

It affects 1 product.

Products include Freerdp Freerdp.

How do I fix CVE-2023-40576?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-40576 being exploited?

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

All Freerdp Freerdp vulnerabilities

Sources

Also known as GHSA-x3x5-r7jm-5pq2.

Is CVE-2023-40576 in your software?

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

Check your SBOMs for free