CVE-2023-42800: Buffer overflow due to use of `strcpy` in `performRtspHandshake`

Published Dec 14, 2023
·
Updated

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.

Affected Software

10 affected components
Moonlight-stream Moonlight-common-c>=2022-11-04<2023-10-06
Moonlight-stream Moonlight Iphone Os>=8.4.0<=8.5.0
Moonlight-stream Moonlight Tvos>=8.4.0<=8.5.0
Moonlight-stream Moonlight Android>=10.10<=11.0
Moonlight-stream Moonlight Chrome=0.10.22
Moonlight-stream Moonlight Embedded=2.6.0
Moonlight-stream Moonlight Xbox>=1.12.0<=1.14.40
Moonlight-stream Moonlight Tv>=1.5.4<=1.5.27
Moonlight-stream Moonlight Switch>=0.13<=0.13.3
Moonlight-stream Moonlight Vita>=0.9.2<=0.9.3

Event History

Dec 14, 2023
CVE Published
04:57 PM
Data Sourced
04:57 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-42800?

CVE-2023-42800 is classified as a critical vulnerability due to the potential for a buffer overflow.

2

How do I fix CVE-2023-42800?

To fix CVE-2023-42800, update to the latest version of Moonlight-common-c that addresses this buffer overflow issue.

3

What software is affected by CVE-2023-42800?

CVE-2023-42800 affects various versions of Moonlight and Moonlight-common-c across multiple platforms including mobile and embedded systems.

4

What are the consequences of exploiting CVE-2023-42800?

Exploiting CVE-2023-42800 could allow attackers to execute arbitrary code remotely, compromising the affected system.

5

When was CVE-2023-42800 introduced?

CVE-2023-42800 was introduced in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203