Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Local file open required (AV:L, UI:R); no credentials needed; crash-only impact with no confidentiality or integrity effect (C:N, I:N, A:L).
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
NanaZip is an open source file archive. From 5.0.1252.0 to before 6.0.1698.0, an integer divide-by-zero exists in the UFS/UFS2 filesystem image parser in NanaZip. The vulnerability is triggered when opening a crafted UFS image where the superblock field fs_ipg (inodes per cylinder group) is set to zero. The parser uses this attacker-controlled value as a divisor without validation, causing an immediate hardware trap and process crash. This vulnerability is fixed in 6.0.1698.0.
AnalysisAI
Integer divide-by-zero in NanaZip's UFS/UFS2 filesystem image parser crashes the application when a user opens a specially crafted archive. Affected versions 5.0.1252.0 through 5.x fail to validate the superblock field fs_ipg before using it as a divisor; setting it to zero in a crafted image triggers an immediate hardware trap and process termination. No public exploit has been identified and EPSS probability sits at 0.01% (2nd percentile), indicating negligible real-world exploitation risk at time of analysis.
Technical ContextAI
NanaZip (CPE: cpe:2.3:a:m2team:nanazip) is an open-source Windows file archive utility derived from 7-Zip. Its UFS/UFS2 parser reads the BSD Unix Filesystem superblock field fs_ipg - which encodes the number of inodes per cylinder group - and uses it as a divisor in inode offset calculations without a zero-check guard. CWE-369 (Divide By Zero) describes exactly this root cause: an attacker-controlled integer zero propagates into an arithmetic operation, causing a hardware-level divide fault. UFS/UFS2 is the native filesystem of FreeBSD and older macOS systems; parsing such images in an archiver on Windows is a relatively uncommon but supported feature, and the parser trusts the superblock without sanitizing attacker-supplied metadata fields.
RemediationAI
Upgrade NanaZip to version 6.0.1698.0 or later, which introduces validation of the fs_ipg superblock field before its use as a divisor. The vendor advisory is available at https://github.com/M2Team/NanaZip/security/advisories/GHSA-3x2h-gqqw-g3gm and the VulDB record at https://vuldb.com/vuln/363328. For environments where upgrading immediately is not possible, the practical compensating control is to instruct users not to open UFS or UFS2 filesystem image files (.ufs, raw disk images) from untrusted sources, as the crash is only triggered by the UFS parser code path. Because impact is limited to application crash with no privilege escalation or data exposure, the risk of delayed patching is low for most deployments.
Nanazip versions up to 6.0.1630.0 is affected by loop with unreachable exit condition (infinite loop) (CVSS 7.5).
NanaZip versions 5.0.1252.0 through 6.0.1629.0 contain an out-of-bounds heap read in the .NET Single File bundle parser
NanaZip versions 5.0.1252.0 through 6.5.1637.0 contain an out-of-bounds memory access flaw in the UFS file parser that c
Out-of-bounds memory read in NanaZip versions 5.0.1252.0 through 6.0.1637.x allows local authenticated attackers to disc
NanaZip versions 5.0.1252.0 through 6.0.1629.0 are vulnerable to denial of service through malformed ROMFS archives that
NanaZip versions 5.0.1252.0 through 6.5.1637.x contain an integer underflow in the .NET Single File Application parser t
Heap out-of-bounds read in NanaZip's SquashFS LZ4 decompression handler exposes adjacent heap memory contents when a use
Heap out-of-bounds read in NanaZip's Android Verified Boot (AVB) vbmeta image parser allows unauthenticated remote attac
Heap out-of-bounds read in NanaZip's Android Verified Boot (AVB) vbmeta image parser crashes the application and may lea
Heap out-of-bounds null write in NanaZip's UFS/UFS2 filesystem image parser (versions 5.0.1252.0 through 6.0.1698.0) ena
Stack-based out-of-bounds read in NanaZip's ZealFS v1 filesystem image parser affects versions 5.0.1252.0 through before
Heap out-of-bounds read in NanaZip's inherited 7-Zip LvmHandler component allows an unauthenticated remote attacker to c
Same weakness CWE-369 – Divide By Zero
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29788