{"id":"CVE-2026-42442","state":"PUBLISHED","title":"NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink","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.","publishedAt":"2026-05-12T19:21:04.924Z","updatedAt":"2026-05-13T14:43:33.505Z","severity":{"score":3.3,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["M2Team NanaZip"],"affected":[{"vendor":"M2Team","product":"NanaZip","versions":[{"version":">= 5.0.1250.0, < 6.0.1698.0","status":"affected"}]}],"references":["https://github.com/M2Team/NanaZip/security/advisories/GHSA-8r4x-fx3w-ph77"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42442.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42442","state":"PUBLISHED","datePublished":"2026-05-12T19:21:04.924Z","dateUpdated":"2026-05-13T14:43:33.505Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-27T13:55:58.692Z"},"containers":{"cna":{"title":"NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink","descriptions":[{"lang":"en","value":"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":[{"vendor":"M2Team","product":"NanaZip","versions":[{"version":">= 5.0.1250.0, < 6.0.1698.0","status":"affected"}]}],"references":[{"url":"https://github.com/M2Team/NanaZip/security/advisories/GHSA-8r4x-fx3w-ph77","name":"https://github.com/M2Team/NanaZip/security/advisories/GHSA-8r4x-fx3w-ph77","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-12T19:21:04.924Z"},"source":{"advisory":"GHSA-8r4x-fx3w-ph77","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-13T14:43:15.494462Z","id":"CVE-2026-42442","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-13T14:43:33.505Z"}}]}}}