# CVE-2026-42442: NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-12T19:21:04.924Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- M2Team NanaZip: >= 5.0.1250.0, < 6.0.1698.0; from 5.0.1250.0 before 6.0.1698.0

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/M2Team/NanaZip/security/advisories/GHSA-8r4x-fx3w-ph77> (mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-42442](https://www.cve.org/CVERecord?id=CVE-2026-42442), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-42442](https://nvd.nist.gov/vuln/detail/CVE-2026-42442), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42442 · Whole record: https://cve.day/CVE-2026-42442.json · Rebuilt by cve.day 2026-11-25T22:59:21.482Z
