A critical pre-authentication memory safety vulnerability affecting the local wireless communications stack of the Nintendo Switch console allows an unauthenticated adversary within physical Wi-Fi radio range to trigger a stack-based buffer overflow and hijack program instruction pointers. The weakness resides directly in the embedded Dynamic Host Configuration Protocol (DHCP) server daemon responsible for managing addressing inside the console's Local Communication (LDN) and Local Peer-to-Peer (LP2P) networking subsystems.
Because the vulnerable networking service listens for broadcast packet exchanges during ad-hoc ad-hoc multiplayer sessions, exploitation requires zero user interaction, zero console pairing, and no pre-shared cryptographic secrets. Any device actively hosting or negotiating a local ad-hoc session within radio frequency range can be targeted over the air.
Root Cause Analysis: Unchecked Bounds in the Embedded DHCP Server
The Nintendo Switch operating system architecture delegates ad-hoc console-to-console multiplayer interactions to internal system modules commonly referred to as ldn and lp2p. When a player initiates a local multiplayer session, one console assumes the role of a software access point (SoftAP) and acts as the local network master. To assign IPv4 configuration leases to incoming peer consoles attempting to join the lobby, the master device initializes an internal user-space DHCP daemon.
The vulnerability manifests during the initial parsing of inbound DHCP client configuration requests. Specifically, the embedded server's packet parser handles standard DHCP protocol options, including client identifiers, requested IP parameters, and host parameters. When reading length-prefixed option payloads from untrusted network frames incoming on UDP port 67, the parsing loop fails to strictly enforce destination stack buffer limits before copying raw data into a fixed-size local stack frame.
An external device within Wi-Fi signal proximity can transmit an intentionally malformed DHCP discovery or request datagram containing an oversized option payload. When the daemon processes this packet, the unchecked copy operation overflows the destination array, corrupting adjacent stack data, saved frame pointers, and the return address (saved instruction pointer). Because this exchange occurs prior to any high-level game authentication, profile exchange, or user acceptance, the flaw constitutes a true zero-click, pre-authentication remote vulnerability.
Technical Parameters & Vulnerability Architecture
The underlying flaw stems from classic stack-based memory corruption occurring within high-privilege system daemon memory. The core parameters governing this disclosure include:
| Parameter | Technical Specification |
|---|---|
| Vulnerability Identifier | HackerOne Vulnerability Disclosure #3770768 |
| Vulnerability Class | CWE-121: Stack-based Buffer Overflow |
| Vulnerable Component | Nintendo Switch LDN / LP2P Wireless Subsystem |
| Target Daemon | Embedded Local Wireless DHCP Server |
| Network Attack Vector | Wireless Proximity / Ad-Hoc 802.11 Wi-Fi Range (Zero-Click) |
| Authentication Boundary | Pre-Authentication / Unauthenticated Broadcast |
Over-the-Air Attack Mechanics
In standard infrastructure Wi-Fi setups, client devices must complete an 802.11 4-way handshake, authenticate with an access point, and validate security certificates or WPA2/WPA3 pre-shared keys before UDP traffic reaches application layers. In contrast, Nintendo Switch local ad-hoc multiplayer relies on rapid discovery protocols to permit seamless, spontaneous connectivity between devices in physical proximity.
During the formation of these transient wireless networks, the host console advertises a local service set identifier (SSID), accepting association requests from peer consoles. Once the Wi-Fi link layer associates, the connecting device immediately requests an IP address via DHCP:
- Step 1: Broadcast Beacon & Association: The hosting console operates the SoftAP, listening on the local wireless spectrum for connection frames.
- Step 2: Transmission of Malformed Datagram: Without completing game-layer handshake protocols, an attacker injects crafted UDP datagrams directed at the DHCP service port.
- Step 3: Parser Memory Corruption: The internal DHCP packet parser iterates through the option fields, encountering an overlong byte sequence that bypasses boundary validation checks.
- Step 4: Instruction Pointer Hijack: Overwriting the stack return pointer redirects control flow to attacker-specified memory regions or disrupts execution, crashing the core networking service and creating conditions for remote code execution.
Operational Impact and Affected Deployments
The operational radius of this vulnerability is strictly constrained by physical radio frequency reach, limiting exploitation to an attacker physically proximate to a console engaged in or searching for local multiplayer sessions. However, the severity is amplified by the zero-interaction nature of the attack.
Key risk areas include:
- High-Density Public Venues: Gaming conventions, esports tournaments, public transit hubs, and academic campuses where multiple users routinely enable local wireless matchmaking.
- Bypass of Security Boundaries: Because exploitation takes place before any player acceptance prompt or game-specific access controls are evaluated, targeted users receive no visual warning or prompt requesting approval before their console processes the malicious packet.
- Subsystem Privilege Escalation: Gaining execution inside the
ldnor related networking process gives an attacker a beachhead in the system operating environment, serving as an initial vector from which to probe internal operating system microkernel interfaces.
Practical Defensive Measures & Response
Because the vulnerability operates over localized ad-hoc wireless channels rather than the public internet, users and tournament operators can implement direct operational mitigations while coordinating firmware deployment:
1. Disable Local Wireless Modes in Untrusted Environments
In physical locations where untrusted third parties are within Wi-Fi signal range, players should disable local wireless multiplayer modes. When available, utilizing standard infrastructure internet connectivity—connecting both consoles through an isolated, authenticated corporate or home Wi-Fi network rather than console-to-console LDN modes—circumvents the unauthenticated local DHCP server attack surface.
2. Airplane Mode Enforcement
When not actively utilizing network functionality, enabling Airplane Mode fully powers down the internal 802.11 radio transceiver, neutralizing over-the-air packet ingestion across all wireless submodules.
3. Operational Protocol for Competitive Events
Tournament administrators and gaming venues should mandate that participants avoid open local wireless discovery in public lobbies. Where hardware docks and wired LAN adapters are supported, competitive environments should transition to wired network configurations rather than relying on over-the-air peer-to-peer negotiation.
What Remains Unknown
Public documentation originating from HackerOne disclosure record #3770768 focuses explicitly on the underlying stack-based buffer overflow, the target component, and the mechanics of the over-the-air control flow hijack. Several architectural implementation details remain unaddressed in publicly released documentation:
- Specific Firmware Boundaries: The exact matrix of historical Horizon OS system versions containing the vulnerable parser implementation, as well as the initial revision where the defect was introduced, has not been exhaustively published.
- Mitigation Defenses and Exploit Reliability: Public disclosures do not detail the extent to which system-level Address Space Layout Randomization (ASLR) and compiler stack canaries impede weaponization into fully stabilized code execution without secondary memory disclosure primitives.
- Formal CVE Indexing: The flaw was managed through direct vendor bug bounty disclosure mechanisms; no specific standardized CVE identifier from the National Vulnerability Database has been associated with this distinct report record.



