CVE-2026-42442

NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink

Published May 12, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

NanaZip, an open‑source archiving tool, contains a null‑pointer dereference in its UFS/UFS2 filesystem image parser. When the parser opens a UFS image whose root inode is incorrectly configured as a symlink, the code assumes it is a directory, allocates a zero‑length buffer, and then dereferences a null pointer during the first read. The result is a crash of the NanaZip process, which can lead to a denied‑service condition for users attempting to extract the archive.

Affected Systems

The vulnerability affects M2Team’s NanaZip from versions 5.0.1252.0 up through, but not including, 6.0.1698.0. Any installation of NanaZip within this range that is used to open untrusted UFS images is impacted.

Risk and Exploitability

The CVSS score of 3.3 indicates low severity; the vulnerability is not listed in CISA’s KEV catalog and no EPSS value is available. Exploitation requires an attacker to supply a specially crafted UFS image to the vulnerable version of NanaZip, typically achievable when the application is run locally or a user opens a malicious archive. Because the defect causes a crash rather than privilege escalation or data disclosure, the risk is primarily a local denial of service. Updating to version 6.0.1698.0 or newer resolves the issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to NanaZip 6.0.1698.0 or a later release that contains the fix.
  • If an upgrade cannot be performed immediately, restrict the use of NanaZip to controlled environments and avoid processing UFS images from untrusted or unknown sources.
  • Monitor NanaZip logs for unexpected crashes and configure the application to handle malformed archives gracefully to mitigate repeat denial‑of‑service attacks.

Generated by OpenCVE AI on May 12, 2026 at 20:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:m2team:nanazip:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared M2team
M2team nanazip
Vendors & Products M2team
M2team nanazip
Type Values Removed Values Added
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.
Title NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 13, 2026, 2:43 PM
Reserved
Apr 27, 2026, 1:55 PM
Status
Analyzed
Published
May 12, 2026, 8:16 PM
Modified
Oct 26, 2026, 6:10 PM