NanaZip: Uncontrolled recursion in NanaZip Electron ASAR parser causes stack exhaustion
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-674.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA NanaZip (M2Team) Fixed in 6.0.1698.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42355
References
More M2Team Nanazip vulnerabilities
- TI-2026-32194 NanaZip: Heap out-of-bounds write in NanaZip UFS directory parser CVSS 3.1HIGH 7.1
- TI-2026-30733 NanaZip: Unbounded resource consumption in NanaZip littlefs parser via attacker-controlled BlockCount CVSS 3.1MEDIUM 5.5
- TI-2026-21251 NanaZip has DotNet Single file OOB Heap Read CVSS 4.0MEDIUM 5.2
- TI-2026-22087 NanaZip UFS Archive Parser Memory Corruption via Unvalidated Directory Record Length CVSS 4.0MEDIUM 5.1
- TI-2026-22086 NanaZip .NET Single-File Parser Integer Underflow Leads to Unbounded Allocation (DoS) CVSS 4.0MEDIUM 5.1
- TI-2026-22085 NanaZip .NET Single-File Manifest Parser Vulnerable to Out-of-Bounds Read via Unchecked RelativePathLength CVSS 4.0MEDIUM 5.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences