# CVE-2026-42355: NanaZip: Uncontrolled recursion in NanaZip Electron ASAR parser causes stack exhaustion

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 2% of CVEs (2026-11-30)
- Published: 2026-05-12T19:20:35.273Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- M2Team NanaZip: >= 5.0.1250.0, < 6.0.1698.0; from 5.0.1250.0 before 6.0.1698.0

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/M2Team/NanaZip/security/advisories/GHSA-4gxf-p4q6-gfrf> (mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-42355](https://www.cve.org/CVERecord?id=CVE-2026-42355), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-42355](https://nvd.nist.gov/vuln/detail/CVE-2026-42355), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42355 · Whole record: https://cve.day/CVE-2026-42355.json · Rebuilt by cve.day 2026-11-25T22:59:21.481Z
