{"id":"CVE-2023-40186","summary":"IntegerOverflow leading to Out-Of-Bound Write Vulnerability 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 IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the `gdi_CreateSurface` function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. 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.","aliases":["GHSA-hcj4-3c3r-5j3v"],"modified":"2026-04-12T04:05:28.325472Z","published":"2023-08-31T21:13:57.792Z","related":["ALSA-2024:2208","MGASA-2023-0318","SUSE-SU-2023:4611-1","SUSE-SU-2023:4893-1","openSUSE-SU-2024:13504-1"],"database_specific":{"cwe_ids":["CWE-190","CWE-787"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40186.json"},"references":[{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/fee2b10ba1154f952769a53eb608f044782e22f8/libfreerdp/gdi/gfx.c#L1156-L1165"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40186.json"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hcj4-3c3r-5j3v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40186"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-16"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"f468a06d88c55b9ed484757326a9528cf27d33f4"},{"fixed":"59a5726ab36338776539192cae2563951d0ce94b"}]}],"versions":["3.0.0-beta1","3.0.0-beta2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-40186.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"}]}