CVE-2026-42442

Source
https://cve.org/CVERecord?id=CVE-2026-42442
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42442.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42442
Aliases
  • GHSA-8r4x-fx3w-ph77
Published
2026-05-12T19:21:04.924Z
Modified
2026-07-08T08:13:19.264055671Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
NanaZip: Null-pointer dereference in NanaZip UFS parser when root inode is a symlink
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42442.json",
    "cwe_ids": [
        "CWE-476"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/m2team/nanazip

Affected ranges

Type
GIT
Repo
https://github.com/m2team/nanazip
Events
Database specific
{
    "cpe": "cpe:2.3:a:m2team:nanazip:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "5.0.1250.0"
        },
        {
            "fixed": "6.0.1698.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

5.*
5.0.1250.0
5.0.1252.0
5.0.1263.0
5.1.1252.0
5.1.1263.0
6.*
6.0.1461.0
6.0.1621.0
6.0.1630.0
6.0.1632.0
6.0.1638.0
6.0.1650.0
6.0.1691.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42442.json"