Skip to main content
Mallory
← Back to News
embedded-device-vulnerabilityprivilege-escalation-techniqueproof-of-concept-release

Switch 2 Software-Only Jailbreak Chains SmileBASIC and Filesystem Flaws

Vulnerability Disclosure · 5 sources · Updated 1mo ago · First seen Oct 22, 2026

Switch 2 Software-Only Jailbreak Chains SmileBASIC and Filesystem Flaws

Researcher Sammy Hajhamid, known as pepsipu, reportedly published ns2jb, a software-only Nintendo Switch 2 jailbreak affecting retail consoles running firmware 23.0.1. The exploit chains an integer overflow in the BASIC interpreter of SmileBASIC 4, a backward-compatible Switch title, with a buffer overflow in the console’s filesystem system module. The chain escapes the application sandbox and enables native code execution with system-module permissions, alongside code dumping and IPC handle manipulation.

Reported capabilities include unsigned homebrew execution, save-data backup and restoration, modified game executables, and memory-mapped I/O access. Despite being described as a full software-only jailbreak, it does not compromise the secure boot chain or support pirated game-backup execution. The method is tethered, requiring a connected computer to reapply it after every reboot, and both vulnerabilities are software-patchable. Owners connecting modified consoles to Nintendo’s network could face enforcement under its updated user agreement.

Why it matters

The reported ns2jb exploit chain affects Nintendo Switch 2 consoles running system software 23.0.1 with SmileBASIC 4.4.9, enabling application-sandbox escape and native execution with filesystem-system-module permissions. Exposure primarily concerns console owners, game developers, and organizations operating gaming or research devices: unauthorized code execution and save-data or game modification threaten device integrity, while online use of modified consoles risks Nintendo enforcement. Public research demonstrations are reported, but the supplied material establishes neither malicious exploitation nor compromise of secure boot, TrustZone, or persistent firmware.

  • Scope: Exploitation requires the vulnerable application and active setup with a same-network computer; this is not described as an unauthenticated remote attack against all Switch 2 consoles.
  • Operational impact: Reported capabilities include privileged filesystem operations, code dumping, save backup/restoration, and modified game execution. The supplied repository documents a narrower native-code demonstration, not a complete custom-firmware installation.
  • Limitations: The method is tethered, must be reapplied after reboot, and does not reportedly enable pirated retail-game backups. Both flaws are software-patchable.
  • Confidence: Repository claims and media reporting support investigation, but the supplied content does not independently verify the distributed code or its behavior.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · Jul 2016 – Oct 21, 2026
  1. Reported Oct 22, 20261mo ago

    Gezine reviews ns2jb and endorses its methodology

    Independent researcher Gezine reportedly reviewed ns2jb and confirmed that its methodology was sound.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  2. Reported Oct 22, 20261mo ago

    Hajhamid discloses Codex assistance in vulnerability research

    Hajhamid disclosed that OpenAI Codex assisted him in identifying a vulnerability used in the ns2jb research.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  3. Reported Oct 22, 20261mo ago

    Pepsipu publishes ns2jb software-only Switch 2 jailbreak

    Sammy Hajhamid, known as pepsipu, published ns2jb on GBATemp and released its source code on GitLab, reportedly chaining a SmileBASIC 4 integer overflow with a filesystem buffer overflow to achieve system-module code execution on firmware 23.0.1. The tethered jailbreak enables homebrew and modified executables but does not provide persistent custom firmware or execution of pirated retail game backups.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  4. Oct 21, 20261mo ago

    ns2jb README reports successful physical FS execution test

    The ns2jb README reports that physical testing executed and verified two small native functions inside the Switch 2 FS process, then passed instruction restoration and cleanup checks. Success reportedly occurred on the third fresh boot after two attempts stopped at validation checks; the supplied content does not independently verify these claims.

    Sammy Hajhamid / ns2jb · GitLab
  5. Jul 2026

    Gezine publishes sandbox-confined Switch 2 userland exploit

    Independent researcher Gezine published an offline Nintendo Switch 2 userland exploit that remained confined to the application sandbox.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  6. May 2025

    Nintendo updates user agreement to permit disabling modified consoles

    Nintendo updated its user agreement to reserve the right to permanently disable consoles running unauthorized software.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  7. 2022

    Hajhamid presents out-of-bounds write exploitation research

    Sammy Hajhamid presented research at A New HOPE on converting a one-byte out-of-bounds write into a return-oriented programming chain.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  8. Sep 2016

    Nintendo releases 3DS system update to block vulnerable SmileBASIC

    Nintendo released system update 11.1.0-X to block the vulnerable SmileBASIC version. The report also states that Nintendo patched the application following the earlier exploitation incident.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
  9. Jul 2016

    Nintendo removes vulnerable SmileBASIC application from the 3DS eShop

    An earlier SmileBASIC exploitation incident affected Nintendo 3DS versions 3.2.1 through 3.3.1, prompting Nintendo to remove the application from the eShop.

    Nintendo Switch 2 Receives First Full Software-Only Jailbreak Through SmileBASIC App
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Nintendo
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.