Integer Underflow (Wrap or Wraparound) Affecting freerdp/freerdp package, versions [,2.11.0)[3.0.0,3.0.0-beta2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.45% (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-UNMANAGED-FREERDPFREERDP-5880422
  • published3 Sept 2023
  • disclosed31 Aug 2023
  • creditpwn2carr

Introduced: 31 Aug 2023

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

How to fix?

Upgrade freerdp/freerdp to version 2.11.0, 3.0.0-beta2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) via the zgfx_decompress_segment function in the context of CopyMemory. Exploiting this vulnerability allows an attacker to read data beyond the transmitted packet range and likely cause a crash.

CVSS Base Scores

version 3.1