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.
PUBLISHED5.2CWE-369
NanaZip: Integer divide-by-zero in NanaZip UFS inode offset calculation
Problem type
Affected products
M2Team
NanaZip
>= 5.0.1250.0, < 6.0.1698.0 - AFFECTED
References
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-42443Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-42443",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-05-12T19:44:22.314Z",
"dateReserved": "2026-04-27T13:55:58.692Z",
"datePublished": "2026-05-12T19:21:31.264Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-05-12T19:21:31.264Z"
},
"title": "NanaZip: Integer divide-by-zero in NanaZip UFS inode offset calculation",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "M2Team",
"product": "NanaZip",
"versions": [
{
"version": ">= 5.0.1250.0, < 6.0.1698.0",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-369: Divide By Zero",
"cweId": "CWE-369",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/M2Team/NanaZip/security/advisories/GHSA-3x2h-gqqw-g3gm",
"name": "https://github.com/M2Team/NanaZip/security/advisories/GHSA-3x2h-gqqw-g3gm",
"tags": [
"x_refsource_CONFIRM"
]
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "LOW",
"baseScore": 3.3,
"baseSeverity": "LOW"
}
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-12T19:44:22.314Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}