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

Published May 12, 2026
·
Updated

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.

Affected Software

2 affected components
NanaZip NanaZip>=5.0.1252.0<6.0.1698.0
M2team Nanazip>=5.0.1250.0<6.0.1698.0

Event History

May 12, 2026
CVE Published
via MITRE·07:20 PM
Data Sourced
via MITRE·07:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-42355?

CVE-2026-42355 is classified as a high severity vulnerability due to the potential for stack exhaustion.

2

How do I fix CVE-2026-42355?

To fix CVE-2026-42355, update NanaZip to version 6.0.1698.0 or later.

3

What causes CVE-2026-42355?

CVE-2026-42355 is caused by uncontrolled recursion in the Electron Archive (ASAR) parser within NanaZip.

4

Which versions of NanaZip are affected by CVE-2026-42355?

NanaZip versions from 5.0.1252.0 to before 6.0.1698.0 are affected by CVE-2026-42355.

5

What happens if CVE-2026-42355 is exploited?

Exploitation of CVE-2026-42355 can lead to a stack exhaustion, potentially causing the application to crash.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203