{"id":"CVE-2023-42800","aliases":["CVE-2023-42800"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer overflow due to use of `strcpy` in `performRtspHandshake`","summary":"Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 due to unmitigated usage of unsafe C functions and improper bounds checking. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client, or achieve remote code execution (RCE) on the client (with insufficient exploit mitigations or if mitigations can be bypassed). The bug was addressed in commit 24750d4b748fefa03d09fcfd6d45056faca354e0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 due to unmitigated usage of unsafe C functions and improper bounds checking. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client, or achieve remote code execution (RCE) on the client (with insufficient exploit mitigations or if mitigations can be bypassed). The bug was addressed in commit 24750d4b748fefa03d09fcfd6d45056faca354e0.","source":"cvelist"},{"lang":"es","text":"Moonlight-common-c contiene el código principal del cliente GameStream compartido entre los clientes Moonlight. Moonlight-common-c es vulnerable al desbordamiento del búfer a partir de el commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 debido al uso absoluto de funciones C inseguras y a una verificación de límites inadecuada. Un servidor de transmisión de juegos malicioso podría aprovechar una vulnerabilidad de desbordamiento del búfer para bloquear un cliente de luz nocturna o lograr la ejecución remota de código (RCE) en el cliente (con mitigaciones de explotación insuficientes o si se pueden evitar las mitigaciones). El error se solucionó en el commit 24750d4b748fefa03d09fcfd6d45056faca354e0.","source":"nvd"}],"published":"2023-12-14T16:57:44.846Z","modified":"2026-06-17T06:24:32.347Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":">= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 24750d4b748fefa03d09fcfd6d45056faca354e0","status":"affected"}],"vendor":"moonlight-stream","product":"moonlight-common-c","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2022-11-04","fixed":"2023-10-06"}],"vendor":"moonlight-stream","product":"moonlight-common-c","cpe":"cpe:2.3:a:moonlight-stream:moonlight-common-c:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.4.0","lastAffected":"8.5.0"},{"status":"affected","introduced":"8.4.0","lastAffected":"8.5.0"},{"status":"affected","introduced":"10.10","lastAffected":"11.0"},{"status":"affected","version":"0.10.22"}],"vendor":"moonlight-stream","product":"moonlight","cpe":"cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:iphone_os:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"2.6.0"}],"vendor":"moonlight-stream","product":"moonlight_embedded","cpe":"cpe:2.3:a:moonlight-stream:moonlight_embedded:2.6.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"1.12.0","lastAffected":"1.14.40"}],"vendor":"moonlight-stream","product":"moonlight_xbox","cpe":"cpe:2.3:a:moonlight-stream:moonlight_xbox:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"1.5.4","lastAffected":"1.5.27"}],"vendor":"moonlight-stream","product":"moonlight_tv","cpe":"cpe:2.3:a:moonlight-stream:moonlight_tv:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"0.13","lastAffected":"0.13.3"}],"vendor":"moonlight-stream","product":"moonlight_switch","cpe":"cpe:2.3:a:moonlight-stream:moonlight_switch:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"0.9.2","lastAffected":"0.9.3"}],"vendor":"moonlight-stream","product":"moonlight_vita","cpe":"cpe:2.3:a:moonlight-stream:moonlight_vita:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-4927-23jw-rq62","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moonlight-stream/moonlight-common-c/commit/24750d4b748fefa03d09fcfd6d45056faca354e0","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e2288f9","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moonlight-stream/moonlight-common-c/blob/2bb026c763fc18807d7e4a93f918054c488f84e1/src/RtspConnection.c#L796","tags":["product","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-11-27T15:49:58.747Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-42800","url":"https://www.cve.org/CVERecord?id=CVE-2023-42800","licence":"CVE Terms of Use","modified":"2024-11-27T15:50:13.246Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-42800","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42800","licence":"Public domain","modified":"2026-06-17T06:24:32.347Z"}],"updatedAt":"2026-11-25T22:58:31.354Z","epss":{"score":0.01881,"percentile":0.80069,"date":"2026-12-01T12:00:22.000Z"}}