CVE-2024-51738 Sunshine improperly enforces pairing protocol request order

High 7.7 Published Updated

An attacker can hijack pairing attempts to gain unauthorized access or crash the Sunshine game streaming server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-51738?

CVE-2024-51738 is a high-severity vulnerability in LizardByte Sunshine, published on 20 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Sunshine is a self-hosted game stream host for Moonlight. In 0.23.1 and earlier, Sunshine's pairing protocol implementation does not validate request order and is thereby vulnerable to a MITM attack, potentially allowing an unauthenticated attacker to pair a client by hijacking a legitimate pairing attempt. This bug may also be used by a remote attacker to crash Sunshine. This vulnerability is fixed in 2025.118.151840.

Weakness: CWE-841, CWE-476, CWE-305

Which versions are affected by CVE-2024-51738?

It affects 1 product.

Products include Lizardbyte Sunshine.

How do I fix CVE-2024-51738?

No fix has been published for CVE-2024-51738 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-51738 being exploited?

There is no known exploitation of CVE-2024-51738 in the wild and no public exploit code.

Sources

Also known as GHSA-3hrw-xv8h-9499.

Is CVE-2024-51738 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free