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

Low 3.3 Published Updated

An attacker can crash NanaZip by providing a crafted ASAR file with deeply nested JSON, causing stack exhaustion via uncontrolled recursion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-42355?

CVE-2026-42355 is a low-severity denial of service vulnerability in M2Team NanaZip, published on 12 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-674

Which versions are affected by CVE-2026-42355?

It affects 1 product.

Products include M2team Nanazip.

How do I fix CVE-2026-42355?

No fix has been published for CVE-2026-42355 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-42355 being exploited?

There is no known exploitation of CVE-2026-42355 in the wild and no public exploit code.

Sources

Also known as GHSA-4gxf-p4q6-gfrf.

Is CVE-2026-42355 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free