CVE-2026-42442
JSON

3.3low

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

Severity
3.3low CVSS:3.1 by GitHub_M
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
M2Team NanaZip>= 5.0.1250.0, < 6.0.1698.0, from 5.0.1250.0 before 6.0.1698.0CVE List, NVD

All scores

GitHub_M3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

NanaZip es un archivador de código abierto. Desde la 5.0.1252.0 hasta antes de la 6.0.1698.0, existe una desreferencia de puntero nulo en el analizador de imágenes de sistemas de archivos UFS/UFS2 en NanaZip. La vulnerabilidad se activa al abrir una imagen UFS especialmente diseñada donde el inodo raíz (inodo 2) está configurado como IFLNK (enlace simbólico) en lugar de IFDIR (directorio). El analizador trata incondicionalmente el inodo raíz como un directorio sin verificar su tipo, y cuando el enlace simbólico tiene un destino incrustado (di_size pequeño), el búfer de datos del directorio es de longitud cero, lo que provoca una desreferencia de puntero nulo en la primera lectura. Esta vulnerabilidad está corregida en la 6.0.1698.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42442 changed 2026-05-13CVE Terms of Use
NVDCVE-2026-42442 changed 2026-10-26Public domain