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.
References
| Link | Resource |
|---|---|
| https://github.com/M2Team/NanaZip/security/advisories/GHSA-8r4x-fx3w-ph77 | Mitigation Vendor Advisory |
Configurations
History
18 May 2026, 13:51
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:m2team:nanazip:*:*:*:*:*:*:*:* | |
| First Time |
M2team
M2team nanazip |
|
| References | () https://github.com/M2Team/NanaZip/security/advisories/GHSA-8r4x-fx3w-ph77 - Mitigation, Vendor Advisory |
12 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-12 20:16
Updated : 2026-05-18 13:51
NVD link : CVE-2026-42442
Mitre link : CVE-2026-42442
CVE.ORG link : CVE-2026-42442
JSON object : View
Products Affected
m2team
- nanazip
CWE
CWE-476
NULL Pointer Dereference
