cve.bz

CVE-2023-42801 moonlight-stream: Classic Buffer Overflow

7.6 highExploit referenceEPSS 0.9%Fix available

High (7.6) in moonlight-stream. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-42801 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42801?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42801?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-42801 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
moonlight-stream:moonlight-common-cfrom 2016-10-05 before 2023-10-06
moonlight-stream:moonlightbefore 9.0.0
moonlight-stream:moonlightbefore 12.0
moonlight-stream:moonlightbefore 0.10.23
moonlight-stream:moonlight_embeddedbefore 2.6.1
moonlight-stream:moonlight_xboxthrough 1.14.5
moonlight-stream:moonlight_tvbefore 1.6.0
moonlight-stream:moonlight_switchbefore 0.13.4
moonlight-stream:moonlight_qt/pcthrough 5.0.0

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON