Skip to main content
← All vulnerabilities
CVE-2026-42355

NanaZip: Uncontrolled recursion in NanaZip Electron ASAR parser causes stack exhaustion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.1698.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

NanaZip is an open source file archive. From 5.0.1252.0 to before 6.0.1698.0, an uncontrolled recursion vulnerability exists in the Electron Archive (ASAR) parser in NanaZip. When opening a crafted .asar file with deeply nested JSON in the header, both nlohmann::json::parse and the handler's GetAllPaths function recurse without depth limits, exhausting the thread stack and crashing the NanaZip process. This vulnerability is fixed in 6.0.1698.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • M2Team NanaZip

    From 5.0.1250.0 · fixed in 6.0.1698.0

References 1

GitHub · M2Team/NanaZip