{"id":"CVE-2023-40574","aliases":["CVE-2023-40574"],"related":[],"kind":"vulnerability","state":"published","title":"Out-Of-Bounds Write 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 Out-Of-Bounds Write in the `writePixelBGRX` function. This issue is likely down to incorrect calculations of the `nHeight` and `srcStep` variables. This issue has been addressed in version 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 Out-Of-Bounds Write in the `writePixelBGRX` function. This issue is likely down to incorrect calculations of the `nHeight` and `srcStep` variables. This issue has been addressed in version 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 una escritura fuera de límites (Out-Of-Bounds Write) en la función 'writePixelBGRX'. Este problema probablemente se debe a cálculos incorrectos de las variables 'nHeight' y 'srcStep'. Este problema ha sido abordado en la versión 3.0.0-beta3. Se aconseja a los usuarios actualizar. No existen soluciones alternativas conocidas para este problema.","source":"nvd"}],"published":"2023-08-31T21:39:17.151Z","modified":"2026-06-17T06:18:31.987Z","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:L/A:L","score":6.5,"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:L/A:L","score":6.5,"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:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":">= 3.0.0-beta1, < 3.0.0-beta3","status":"affected"}],"vendor":"FreeRDP","product":"FreeRDP","source":"cvelist"},{"ranges":[{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"}],"vendor":"freerdp","product":"freerdp","cpe":"cpe:2.3:a:freerdp:freerdp:3.0.0:beta1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cw","tags":["exploit","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/primitives/prim_YUV.c#L414-L445","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202401-16","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-03-14T19:24:14.917Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40574","url":"https://www.cve.org/CVERecord?id=CVE-2023-40574","licence":"CVE Terms of Use","modified":"2025-02-13T17:08:32.461Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40574","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40574","licence":"Public domain","modified":"2026-06-17T06:18:31.987Z"}],"updatedAt":"2026-11-25T22:58:27.494Z","epss":{"score":0.01206,"percentile":0.69169,"date":"2026-12-01T12:00:22.000Z"}}