CVE-2026-42442CWE-476

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

Low · published May 12, 2026

CVSS v3.1
3.3
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.3 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-05-12T19:21Z
EPSS history
Timeline
  • 12 MAY 19:21Z
    NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink
    cvelistv5