CVE-2023-42799
Homebrew vulnerability analysis and mitigation

Overview

CVE-2023-42799 affects Moonlight-common-c, which contains the core GameStream client code shared between Moonlight clients. The vulnerability was introduced in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 and fixed in commit 02b7742f4d19631024bd766bd2bb76715780004e. The issue stems from unmitigated usage of unsafe C functions and improper bounds checking in the parseUrlAddrFromRtspUrlString function (GitHub Advisory).

Technical details

The vulnerability is a buffer overflow in the parseUrlAddrFromRtspUrlString function in RtspConnection.c. The function uses an unsafe strcpy operation to copy server-provided RTSP URL string into urlAddr, a static buffer of length 48, without proper bounds checking. This vulnerability is only triggered when the client selects a video bitrate of at least 15 Mbps. The issue has been assigned a CVSS v3.1 base score of 8.8 HIGH (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) (GitHub Advisory).

Impact

A malicious game streaming server could exploit this vulnerability to crash a Moonlight client or achieve remote code execution (RCE) on the client system if exploit mitigations are insufficient or can be bypassed. The vulnerability requires the user to be tricked into pairing with a malicious host and cannot be exploited through MITM attacks due to public key pinning during the pairing process (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in commit 02b7742f4d19631024bd766bd2bb76715780004e. Users should upgrade to the latest version of their respective Moonlight clients that includes this fix (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21679CRITICAL9.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21504HIGH7.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21680HIGH7.5
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21503MEDIUM5.5
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21502MEDIUM5.5
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management