CVE-2026-42442: M2Team NanaZip null pointer dereference in UFS parser

CVE-2026-42442 · Severity: low · CVSS 3.3 · Published 2026-05-12

NanaZip is an open-source file archiver used to compress and decompress various file formats. A flaw in how it handles certain filesystem image files (UFS/UFS2) allows a specially crafted file to crash the application. While this does not lead to data theft or unauthorized access, it can disrupt operations by causing the software to stop responding when a user attempts to open a malicious archive.

Technologies: M2Team NanaZip. Vendors: M2Team.

Quick answers

Is CVE-2026-42442 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-42442 being exploited in the wild.
How severe is CVE-2026-42442?
Low severity, with a CVSS score of 3.3, published 12 May 2026.
Which products and versions are affected?
M2Team NanaZip 5.0.1252.0 to before 6.0.1698.0.
Is there a fix for CVE-2026-42442?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-42442 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2026-42442?
Check whether you run M2Team NanaZip at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A null-pointer dereference exists in the UFS/UFS2 filesystem image parser within NanaZip. The vulnerability occurs because the `Open` function in `NanaZip.Codecs.Archive.Ufs.cpp` fails to verify that the root inode (inode 2) is a directory (`IFDIR`) before calling `GetAllPaths`. If a crafted image sets the root inode to a symbolic link (`IFLNK`) with a small size, the parser takes an embedded-symlink fast path that returns without populating block offsets. This results in a zero-length buffer allocation; subsequent attempts to read directory entries from this null buffer trigger a crash. The issue is fixed in version 6.0.1698.0.

Affected products

  • M2Team NanaZip 5.0.1252.0 to before 6.0.1698.0

Timeline

  • 2026-04-27: advisory: Original GitHub security advisory published
  • 2026-05-12: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.