A critical memory corruption flaw in the Nintendo Switch operating system’s local wireless communications architecture permits pre-authentication remote code execution over local Wi-Fi proximity. Disclosed via HackerOne report #3770768 under Nintendo’s coordinated vulnerability disclosure program, the flaw resides in the embedded Dynamic Host Configuration Protocol (DHCP) server daemon powering the console’s proprietary Local Communication (LDN) and Local Peer-to-Peer (LP2P) networking framework. Because the parsing failure triggers prior to authentication, handshake verification, or mutual console pairing, an unauthenticated attacker operating within standard 802.11 radio range can manipulate memory structures and hijack the processor’s instruction pointer without requiring any user interaction on the target device.

Vulnerability Context: LDN, LP2P, and Ad-Hoc Mesh Architecture

The Nintendo Switch architecture implements peer-to-peer multiplayer capabilities through specialized system services known as LDN (Local Communication) and LP2P. When players initiate local multiplayer sessions in compatible games, one console designates itself as an ad-hoc access point and host, while nearby consoles scan, associate, and form a localized ad-hoc wireless mesh. To facilitate standard TCP/IP networking across this ephemeral connection without relying on external home routers or internet connectivity, the hosting console initializes a lightweight, embedded DHCP server daemon.

This embedded DHCP daemon is responsible for managing local IPv4 subnet leasing, assigning addresses to joining client systems, and parsing configuration options. Because ad-hoc mesh formation is designed for frictionless ad-hoc gaming, the initial wireless layer accepts standard layer-2 and layer-3 association traffic before application-layer game session tokens or PIN verifications are evaluated. Consequently, the networking daemon directly exposes its packet parser to any device transmitting wireless frames on the operating frequency.

Root Cause Analysis: Pre-Authentication Stack Buffer Overflow

According to primary disclosure documentation in HackerOne report #3770768, the vulnerability stems from insufficient boundary checks during the parsing of incoming DHCP client requests. The embedded DHCP daemon allocates a fixed-size buffer on the call stack to handle inbound message options. When processing malformed or crafted DHCP packets, the parser fails to validate the length fields of specific incoming options against the allocated stack frame boundaries before copying network payloads into local memory.

By transmitting an oversized, specifically structured DHCP option payload to the listening daemon, an adversary triggers an unchecked copy operation. This condition causes adjacent stack memory to be overwritten, corrupting local control variables, saved frame pointers, and the return address on the execution stack. Because the vulnerability manifests within the initial packet handling routines before cryptographic state exchange or console-level authentication has occurred, the overflow can be triggered blindly over Wi-Fi proximity.

Vulnerability Characteristics

PropertyAttribute Details
Vulnerability IdentifierNINTENDO-SWITCH-DHCP-RCE (HackerOne Report #3770768)
Vulnerability TypeStack-based Buffer Overflow (CWE-121)
Affected ComponentLDN / LP2P Wireless Subsystem (Embedded DHCP Daemon)
Attack VectorAdjacent Network / Wi-Fi Proximity (Pre-Authentication)
User InteractionNone Required
Primary ImpactMemory Corruption and Instruction Pointer Hijack

Execution Mechanics and Proximity Attack Scenarios

Because the flaw exists at the network daemon level, exploitation does not depend on game titles running specific matchmaking code. Instead, the vulnerability is exposed whenever the LDN and LP2P subsystems activate the underlying DHCP services. The confirmed mechanics allow an adversary in physical proximity to manipulate the device's control flow through the following progression:

  • Radio Frequency Exposure: An attacker within standard 2.4 GHz or 5 GHz Wi-Fi transmission range monitors active local wireless channels for active LDN broadcast beacons and connection requests.
  • Frame Injection: The attacker transmits raw 802.11 frames containing crafted DHCP option fields directly to the target system's wireless interface.
  • Memory Corruption: The Switch’s embedded daemon receives the frame, parses the malformed fields without proper length verification, and writes past the designated stack boundary.
  • Control Hijacking: The corrupted stack frame overwrites the return address, redirecting execution when the parser returns from the handling function.

Because no pairing validation or user prompts are generated before packet processing, the console does not display any connection warning, security dialog, or multiplayer confirmation prompt to the user prior to memory corruption.

Affected Deployments and Operational Footprint

The LDN/LP2P subsystem is an integral part of the Nintendo Switch operating system software, shared across all physical hardware form factors—including standard Nintendo Switch, Nintendo Switch Lite, and Nintendo Switch OLED models. Any deployment operating in environments where wireless networking is active can potentially expose the listening network daemons.

High-density public environments represent the most direct exposure scenario for local wireless attacks. Situations such as gaming conventions, esports competitions, mass transit hubs, and educational campuses frequently have multiple consoles running local discovery or ad-hoc sessions concurrently. An attacker positioned in these environments could broadcast crafted packets across local channels, reaching any device currently processing ad-hoc network association requests.

Practical Response and Mitigation Measures

Addressing protocol-level memory corruptions in core system daemons requires vendor-issued firmware updates that enforce strict bounds validation and length checks across all DHCP option parsers. Console owners and enterprise administrators managing fleet or tournament devices should implement practical defensive measures to minimize proximity risk:

  • Firmware Maintenance: Ensure that consoles are updated immediately upon the distribution of official system software updates through official Nintendo network services.
  • Airplane Mode Enforcement: In untrusted or crowded physical venues, configure consoles into Flight Mode / Airplane Mode with Wi-Fi disabled when local ad-hoc play is not actively required, completely disabling the 802.11 radio transceiver.
  • Restricting Ad-Hoc Sessions: Terminate active local wireless sessions immediately when play concludes to ensure the underlying LDN/LP2P DHCP server daemon is shut down and no longer listening on ad-hoc network interfaces.
  • Physical Air-Gapping: In sensitive facilities or restricted enterprise zones where mobile gaming hardware is present, enforce physical RF policies to prevent rogue adjacent-network probing.

What Remains Unknown

While the primary disclosure record in HackerOne report #3770768 confirms the pre-authentication stack buffer overflow and instruction pointer hijacking mechanics within the LDN/LP2P DHCP daemon, several operational details remain undisclosed under coordinated vulnerability disclosure standards:

  • Specific OS Firmware Builds: The report does not detail the exact historical firmware revisions in which the parser defect was initially introduced or the specific system update build containing the final remediation commit.
  • System Privilege Context: The exact system execution privilege level—whether running in user-mode service space or higher-privileged microkernel context—and the specific mitigation mitigations (such as ASLR or stack canaries) that must be bypassed for persistent post-exploitation remain unstated in the public record.
  • Formal CVSS and CVE Assignments: A formal Common Vulnerabilities and Exposures (CVE) index number and CVSS 3.1/4.0 severity vector have not been finalized or published in the public disclosure summary.

Nintendo Switch operators should follow official system update advisories to ensure that system software patches addressing the underlying LDN/LP2P networking stack are fully applied.