CVE-2023-40181
MEDIUMFreeRDP < 2.11.0 - Integer Underflow in zgfx_decompress_segment
Title source: llmDescription
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 (9)
Core 9
Core References
Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html
Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/
Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/
Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/
Third Party Advisory
https://security.gentoo.org/glsa/202401-16
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8
Issue Tracking x_refsource_misc
https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L256-L261
Issue Tracking x_refsource_misc
https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L334-L355
Scores
CVSS v3
5.3
EPSS
0.0143
EPSS Percentile
69.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Details
CWE
CWE-191
CWE-125
Status
published
Products (6)
debian/debian_linux
10.0
fedoraproject/fedora
37
fedoraproject/fedora
38
fedoraproject/fedora
39
freerdp/freerdp
3.0.0 beta1 (2 CPE variants)
freerdp/freerdp
< 2.11.0
Published
Aug 31, 2023
Tracked Since
Feb 18, 2026