Home / moonlight-stream / moonlight-common-c / CVE-2023-42801
CVE-2023-42801: is it exploited, and which versions of moonlight-stream moonlight-common-c are affected and fixed?
CVE-2023-42801 is a buffer overflow vulnerability in moonlight-stream moonlight-common-c. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: moonlight-common-c >= f57bd745b4cbed577ea654fad4701bea4d38b44c, < b2497a3918a6d79808d9fd0c04734786e (CVE record by GitHub_M). Fixed in 2023-10-06, 9.0.0, 12.0, 0.10.23 and 2 more (NVD). Severity: High (7.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:33 UTC.
What is CVE-2023-42801?
Stack buffer overflow due to `strcpy` into fixed size buffer in `extractVersionQuadFromString`
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.
From the CVE record by GitHub_M, last updated August 2, 2024, 19:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| moonlight-stream | moonlight-common-c | >= f57bd745b4cbed577ea654fad4701bea4d38b44c, < b2497a3918a6d79808d9fd0c04734786e |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| moonlight-stream | moonlight-common-c | from 2016-10-05 before 2023-10-06 | application |
| moonlight-stream | moonlight | before 9.0.0 | application |
| moonlight-stream | moonlight | before 12.0 | application |
| moonlight-stream | moonlight | before 0.10.23 | application |
| moonlight-stream | moonlight embedded | before 2.6.1 | application |
| moonlight-stream | moonlight xbox | through 1.14.5 | application |
| moonlight-stream | moonlight tv | before 1.6.0 | application |
| moonlight-stream | moonlight switch | before 0.13.4 | application |
| moonlight-stream | moonlight vita | all versions | application |
| moonlight-stream | moonlight qt\/pc | through 5.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:24 UTC.
How severe is CVE-2023-42801?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | GitHub_M |
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-42801 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.94% probability of exploitation activity in the next 30 days, percentile 61.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-120 Buffer Copy without Checking Size of Input
Where are the vendor advisories and references?
- https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-f3h8-j898-5h5v x_refsource_CONFIRM
- https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808d9fd0c04734786e70d5954 x_refsource_MISC
- https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c x_refsource_MISC
- https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c8897a705be1bc6508dc7580/src/Misc.c#L82-L88 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 14, 2023
- Published
- December 14, 2023, 17:02 UTC
- CVE record updated
- August 2, 2024, 19:30 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:24 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:33 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect moonlight-common-c?
- Dec 14, 2023CVE-2023-42800 moonlight-stream moonlight-common-c: buffer overflow
- Dec 14, 2023CVE-2023-42799 moonlight-stream moonlight-common-c: buffer overflow
Every CVE in moonlight-common-c
Questions about CVE-2023-42801
Is CVE-2023-42801 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.94% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of moonlight-stream moonlight-common-c are affected by CVE-2023-42801?
moonlight-common-c >= f57bd745b4cbed577ea654fad4701bea4d38b44c, < b2497a3918a6d79808d9fd0c04734786e, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-42801?
2023-10-06, 9.0.0, 12.0, 0.10.23, 2.6.1 and 1.6.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-42801?
High (7.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-42801?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.