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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/M2Team/NanaZip/security/advisories/GHSA-4gxf-p4q6-gfrf Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.5 · m2teamNVD modified 2026-10-26 18:10
Affected (CPE criteria) 1
cpe:2.3:a:m2team:nanazip:*:*:*:*:*:*:*:*
References 1
- https://github.com/M2Team/NanaZip/security/advisories/GHSA-4gxf-p4q6-gfrf Mitigation, Vendor Advisory