CVE-2026-42355
JSON

3.3low

NanaZip: Uncontrolled recursion in NanaZip Electron ASAR parser causes stack exhaustion

Severity
3.3low CVSS:3.1 by GitHub_M
Exploit likelihood
0.15% (higher than 2% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
M2Team NanaZip>= 5.0.1250.0, < 6.0.1698.0, from 5.0.1250.0 before 6.0.1698.0CVE List, NVD

All scores

GitHub_M3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

NanaZip es un archivador de archivos de código abierto. Desde 5.0.1252.0 hasta antes de 6.0.1698.0, existe una vulnerabilidad de recursión incontrolada en el analizador de Electron Archive (ASAR) en NanaZip. Al abrir un archivo .asar manipulado con JSON profundamente anidado en la cabecera, tanto nlohmann::json::parse como la función GetAllPaths del gestor recurren sin límites de profundidad, agotando la pila del hilo y provocando el fallo del proceso de NanaZip. Esta vulnerabilidad está corregida en 6.0.1698.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42355 changed 2026-05-13CVE Terms of Use
NVDCVE-2026-42355 changed 2026-10-26Public domain