What’s Vulnerable › Vulnerabilities

CVE-2026-42445: NanaZip: Uncontrolled recursion in NanaZip UFS directory traversal causes stack exhaustion

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

Affected products

How to fix

Upgrade to a fixed version: M2Team NanaZip 6.0.1698.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-42445 or the next vulnerability affects your stack