{"id":"CVE-2023-40181","aliases":["CVE-2023-40181"],"related":[],"kind":"vulnerability","state":"published","title":"Integer-Underflow leading to Out-Of-Bound Read  in FreeRDP","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto (RDP), publicado bajo la licencia Apache. Las versiones afectadas están sujetas a un desbordamiento negativo de enteros (Integer-Underflow) que conduce a una lectura fuera de límites (Out-Of-Bound Read) en la función 'zgfx_decompress_segment'. En el contexto de 'CopyMemory', es posible leer datos más allá del rango del paquete transmitido y probablemente causar un fallo. Este problema ha sido abordado en las versiones 2.11.0 y 3.0.0-beta3. Se aconseja a los usuarios actualizar. No se conocen soluciones alternativas para este problema.","source":"nvd"}],"published":"2023-08-31T21:06:14.883Z","modified":"2026-06-17T06:16:35.750Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-125","CWE-191"],"affected":[{"ranges":[{"version":"< 2.11.0","status":"affected"},{"version":">= 3.0.0-beta1, < 3.0.0-beta3","status":"affected"}],"vendor":"FreeRDP","product":"FreeRDP","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.11.0"},{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"}],"vendor":"freerdp","product":"freerdp","cpe":"cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"37"},{"status":"affected","version":"38"},{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8","tags":["exploit","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L256-L261","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L334-L355","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202401-16","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40181","url":"https://www.cve.org/CVERecord?id=CVE-2023-40181","licence":"CVE Terms of Use","modified":"2025-11-03T20:35:49.526Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40181","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40181","licence":"Public domain","modified":"2026-06-17T06:16:35.750Z"}],"updatedAt":"2026-11-25T22:58:27.491Z","epss":{"score":0.01694,"percentile":0.77822,"date":"2026-12-01T12:00:22.000Z"}}