Description

Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit f57bd745b4cbed577ea654fad4701bea4d38b44c. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client. Achieving RCE is possible but unlikely, due to stack canaries in use by modern compiler toolchains. The published binaries for official clients Qt, Android, iOS/tvOS, and Embedded are built with stack canaries, but some unofficial clients may not use stack canaries. This vulnerability takes place after the pairing process, so it requires the client to be tricked into pairing to a malicious host. It is not possible to perform using a man-in-the-middle due to public key pinning that takes place during the pairing process. The bug was addressed in commit b2497a3918a6d79808d9fd0c04734786e70d5954.

INFO

Published Date :

Dec. 14, 2023, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 8:23 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.7

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2023-42801 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-42801 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Moonlight-stream moonlight
2 Moonlight-stream moonlight-common-c
3 Moonlight-stream moonlight_embedded
4 Moonlight-stream moonlight_xbox
5 Moonlight-stream moonlight_tv
6 Moonlight-stream moonlight_switch
7 Moonlight-stream moonlight_vita
8 Moonlight-stream moonlight_qt\/pc

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C JavaScript C++ SWIG Makefile Shell HTML

Updated: 1 month ago
2 stars 0 fork 0 watcher
Born at : June 7, 2024, 3:37 p.m. This repo has been linked 150 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-42801 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-42801 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c8897a705be1bc6508dc7580/src/Misc.c#L82-L88
    Added Reference https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808d9fd0c04734786e70d5954
    Added Reference https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c
    Added Reference https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-f3h8-j898-5h5v
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 27, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
    Changed Reference Type https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c8897a705be1bc6508dc7580/src/Misc.c#L82-L88 No Types Assigned https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c8897a705be1bc6508dc7580/src/Misc.c#L82-L88 Exploit
    Changed Reference Type https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808d9fd0c04734786e70d5954 No Types Assigned https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808d9fd0c04734786e70d5954 Patch
    Changed Reference Type https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c No Types Assigned https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c Patch
    Changed Reference Type https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-f3h8-j898-5h5v No Types Assigned https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-f3h8-j898-5h5v Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight-common-c:*:*:*:*:*:*:*:* versions from (including) 2016-10-05 up to (excluding) 2023-10-06
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:iphone_os:*:* versions up to (excluding) 9.0.0
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:tvos:*:* versions up to (excluding) 9.0.0
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:android:*:* versions up to (excluding) 12.0
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:chrome:*:* versions up to (excluding) 0.10.23
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight_embedded:*:*:*:*:*:*:*:* versions up to (excluding) 2.6.1
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight_xbox:*:*:*:*:*:*:*:* versions up to (including) 1.14.5
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight_tv:*:*:*:*:*:*:*:* versions up to (excluding) 1.6.0
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight_switch:*:*:*:*:*:*:*:* versions up to (excluding) 0.13.4
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight_vita:*:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:moonlight-stream:moonlight_qt\/pc:*:*:*:*:*:*:*:* versions up to (including) 5.0.0
  • CVE Received by [email protected]

    Dec. 14, 2023

    Action Type Old Value New Value
    Added Description Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit f57bd745b4cbed577ea654fad4701bea4d38b44c. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client. Achieving RCE is possible but unlikely, due to stack canaries in use by modern compiler toolchains. The published binaries for official clients Qt, Android, iOS/tvOS, and Embedded are built with stack canaries, but some unofficial clients may not use stack canaries. This vulnerability takes place after the pairing process, so it requires the client to be tricked into pairing to a malicious host. It is not possible to perform using a man-in-the-middle due to public key pinning that takes place during the pairing process. The bug was addressed in commit b2497a3918a6d79808d9fd0c04734786e70d5954.
    Added Reference GitHub, Inc. https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-f3h8-j898-5h5v [No types assigned]
    Added Reference GitHub, Inc. https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808d9fd0c04734786e70d5954 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c [No types assigned]
    Added Reference GitHub, Inc. https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c8897a705be1bc6508dc7580/src/Misc.c#L82-L88 [No types assigned]
    Added CWE GitHub, Inc. CWE-120
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-42801 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.36 }} 0.10%

score

0.57382

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 10, 2025 21:21