Uncontrolled Recursion Affecting M2Team/NanaZip package, versions [5.0.1250.0,6.0.1698.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-M2TEAMNANAZIP-16672005
  • published14 May 2026
  • disclosed12 May 2026
  • creditJarLob

Introduced: 12 May 2026

CVE-2026-42355  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade M2Team/NanaZip to version 6.0.1698.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion through the GetAllPaths process when handling a crafted .asar file containing deeply nested JSON in the header. An attacker can cause the application to crash by supplying such a file, leading to stack exhaustion due to uncontrolled recursion.

CVSS Base Scores

version 4.0
version 3.1