CVE-2023-40181
Dashboard / Vulnerabilities / CVE-2023-40181
CVE-2023-40181
Summary: Integer-Underflow leading to Out-Of-Bound Read in FreeRDP
Details: 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.
References: https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L256-L261, https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L334-L355, https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html, https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html, https://lists.fedoraproject.org/archives/list/[email protected]/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/, https://lists.fedoraproject.org/archives/list/[email protected]/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/, https://lists.fedoraproject.org/archives/list/[email protected]/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/, https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40181.json, https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8, https://nvd.nist.gov/vuln/detail/CVE-2023-40181, https://security.gentoo.org/glsa/202401-16
Affected packages
Package
Name:
Purl:
