Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-45200 Overview
CVE-2024-45200, nicknamed KartLANPwn, is a stack-based buffer overflow in Nintendo Mario Kart 8 Deluxe versions before 3.0.3. The flaw resides in the LAN/LDN local multiplayer implementation and is triggered during deserialization of session information from a malformed browse-reply packet. An attacker on the same LAN or within LDN wireless range can send a crafted reply packet while the victim views the Wireless Play or LAN Play menu. The victim does not need to join a session. Successful exploitation causes denial of service against the game process and may allow remote code execution on the victim's Nintendo Switch console. The root cause is incorrect use of the Nintendo Pia library [CWE-94].
Critical Impact
An adjacent-network attacker can crash the game process or potentially achieve remote code execution on a Nintendo Switch by sending one malformed LAN/LDN browse-reply packet while the victim has the Wireless Play menu open.
Affected Products
- Nintendo Mario Kart 8 Deluxe versions prior to 3.0.3
- Nintendo Switch consoles running the vulnerable game build
- Any title relying on the affected Nintendo Pia library deserialization path for LAN/LDN session browsing
Discovery Timeline
- 2024-09-30 - CVE-2024-45200 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-45200
Vulnerability Analysis
The vulnerability lives in the LAN/LDN session discovery logic used by Mario Kart 8 Deluxe. When a client opens the Wireless Play or LAN Play menu, the game broadcasts browse requests and parses incoming browse-reply packets to populate the lobby list. The deserialization routine for session information fails to validate the length of attacker-controlled fields before copying them to a fixed-size stack buffer. A crafted browse-reply packet overflows the buffer, corrupting the stack frame, saved return address, and adjacent control data.
Because the vulnerable code runs the moment the menu is opened, no user interaction beyond navigating to Wireless Play is required. The attacker never needs to be invited to or accepted into a session. The outcome ranges from a reliable process crash to arbitrary code execution within the game's sandbox, depending on exploit sophistication and mitigation state on the console.
Root Cause
The root cause is incorrect use of the Nintendo Pia networking library during session information deserialization [CWE-94]. The game trusts length and structure fields supplied by remote peers and performs stack-based copies without bounds checking. This classifies the issue as a stack-based buffer overflow driven by unsafe deserialization of untrusted network input.
Attack Vector
The attack requires adjacent-network access (AV:A), either on the same LAN as the victim or within LDN wireless proximity. The attacker crafts a malformed browse-reply packet that mimics a legitimate LAN session advertisement. When the victim opens the Wireless Play or LAN Play menu, the console processes the packet and triggers the overflow. No authentication, no pairing, and no session join is required.
Technical details and a proof-of-concept are documented in the KartLANPwn GitHub repository and the HackerOne Security Report #2611669.
Detection Methods for CVE-2024-45200
Indicators of Compromise
- Unexpected crashes of the Mario Kart 8 Deluxe process immediately after opening Wireless Play or LAN Play
- Unsolicited LAN broadcast or LDN wireless traffic matching Nintendo Pia browse-reply framing from untrusted sources
- Oversized session information fields in captured LAN browse-reply packets destined for Switch consoles
Detection Strategies
- Capture LAN traffic on segments shared with Switch consoles and inspect Nintendo Pia browse-reply packets for abnormal length fields or malformed session descriptors
- Flag devices broadcasting LDN or LAN session advertisements that do not match known legitimate Switch hardware on the network
- Correlate repeated Mario Kart 8 Deluxe process crashes across endpoints with concurrent LAN broadcast activity
Monitoring Recommendations
- Monitor guest and gaming VLANs for anomalous UDP broadcast traffic associated with Nintendo LAN discovery
- Log wireless intrusion detection system (WIDS) alerts for rogue devices advertising LDN sessions in environments where consoles are used
- Baseline normal Switch LAN traffic volumes and alert on sudden spikes in browse-reply packets
How to Mitigate CVE-2024-45200
Immediate Actions Required
- Update Mario Kart 8 Deluxe to version 3.0.3 or later on every affected Nintendo Switch console
- Avoid opening the Wireless Play or LAN Play menu on untrusted networks or in public spaces until the patch is installed
- Segment gaming consoles onto an isolated VLAN or SSID that blocks broadcast traffic from untrusted clients
Patch Information
Nintendo addressed the vulnerability in Mario Kart 8 Deluxe version 3.0.3. The patched release corrects the deserialization logic in the Nintendo Pia-based LAN/LDN session browsing code. Enable automatic software updates on the Switch to ensure the fix is applied, and verify the installed game version from the home menu software information screen.
Workarounds
- Do not open the Wireless Play or LAN Play menu until the console is updated to game version 3.0.3
- Disable Wi-Fi on the Switch when operating in untrusted wireless environments to block LDN attack reachability
- Place consoles on a dedicated network segment that prevents peer-to-peer discovery from guest or untrusted devices
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

