CVE-2026-42445 PUBLISHED

NanaZip: Uncontrolled recursion in NanaZip UFS directory traversal causes stack exhaustion

Assigner: GitHub_M
Reserved: 27.04.2026 Published: 12.05.2026 Updated: 12.05.2026

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 UFS/UFS2 filesystem image parser in NanaZip. The function GetAllPaths recurses into subdirectories without any depth limit or visited-inode tracking. A crafted UFS image with a deep directory tree or an inode cycle causes stack exhaustion, crashing the NanaZip process. This vulnerability is fixed in 6.0.1698.0.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS Score: 3.3

Product Status

Vendor M2Team
Product NanaZip
Versions
  • Version >= 5.0.1250.0, < 6.0.1698.0 is affected

References

Problem Types

  • CWE-674: Uncontrolled Recursion CWE