CVE-2023-40181

Integer-Underflow leading to Out-Of-Bound Read in FreeRDP

State
Published
Severity
5.3 Medium
Published
Aug 31, 2023
Updated
Nov 3, 2025
Reserved
Aug 9, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-125 Out-of-bounds Read
  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected Products

ProductVersions
FreeRDPFreeRDP
  • < 2.11.0Affected
  • >= 3.0.0-beta1, < 3.0.0-beta3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.