CVE-2026-42442: NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink
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 disize), 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42442?
CVE-2026-42442 is classified as a high-severity vulnerability due to its null-pointer dereference issue.
How do I fix CVE-2026-42442?
To mitigate CVE-2026-42442, update NanaZip to version 6.0.1698.0 or later.
What products are affected by CVE-2026-42442?
CVE-2026-42442 affects NanaZip versions from 5.0.1252.0 up to but not including 6.0.1698.0.
What type of issue is CVE-2026-42442?
CVE-2026-42442 is a null-pointer dereference vulnerability occurring in the UFS parser of NanaZip.
In what scenarios can CVE-2026-42442 be exploited?
CVE-2026-42442 can be exploited when a crafted UFS/UFS2 filesystem image is opened while the root inode is a symlink.