What’s Vulnerable › Vulnerabilities
CVE-2026-42442: NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-12 · updated 2026-10-26
- Weakness: CWE-476
Description
NanaZip is an open source file archive. From 5.0.1252.0 to before 6.0.1698.0, a null-pointer dereference exists in the UFS/UFS2 filesystem image parser in NanaZip. The vulnerability is triggered when opening a crafted UFS image where the root inode (inode 2) is set to IFLNK (symlink) instead of IFDIR (directory). The parser unconditionally treats the root inode as a directory without checking its type, and when the symlink has an embedded target (small di_size), the directory data buffer is zero-length, causing a null-pointer dereference on the first read. This vulnerability is fixed in 6.0.1698.0.
Affected products
- M2Team NanaZip: from 5.0.1250.0 before 6.0.1698.0 — fixed in 6.0.1698.0
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-42442 or the next vulnerability affects your stack