Out-of-bounds Read Affecting freerdp2 package, versions <2.11.7+dfsg1-6~deb12u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.69% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-FREERDP2-18066946
  • published21 Jul 2026
  • disclosed31 Aug 2023

Introduced: 31 Aug 2023

CVE-2023-40181  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Echo:latest freerdp2 to version 2.11.7+dfsg1-6~deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp2 package and not the freerdp2 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Integer-Underflow leading to Out-Of-Bound Read in the zgfx_decompress_segment function. In the context of CopyMemory, it's possible to read data beyond the transmitted packet range and likely cause a crash. 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.

CVSS Base Scores

version 3.1