Vulnerability · Published May 12, 2026 · Assigned by GitHub_M

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

Low 3.3

In plain English

A low-severity security flaw in NanaZip from M2Team. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.1%top 96.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected products (as reported)

VendorProductVersions
M2Team NanaZip >= 5.0.1250.0, < 6.0.1698.0

Weakness: CWE-674 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

References