{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:m2team:nanazip:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "5.0.1250.0"
              },
              {
                "fixed": "6.0.1698.0"
              },
              {
                "introduced": "5.0.1252.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "e4e8fbbc79db1280d94762c37e9037da169d76de"
            },
            {
              "fixed": "28b2bc47eaa37f56c670c72401d97fb1178e87b8"
            }
          ],
          "repo": "https://github.com/m2team/nanazip",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7hqh-mq57-wjmq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42444.json"
  },
  "details": "NanaZip is an open source file archive. From 5.0.1252.0 to before 6.0.1698.0, a denial-of-service vulnerability exists in the littlefs filesystem image parser in NanaZip. The handler's Open method reads BlockCount directly from the attacker-controlled superblock without any validation against the actual file size or any upper-bound ceiling, then iterates BlockCount times, allocating a file-path entry per iteration. A crafted 44-byte littlefs image with BlockCount = 0xFFFFFFFF causes ~4 billion heap allocations, exhausting available memory. This vulnerability is fixed in 6.0.1698.0.",
  "id": "CVE-2026-42444",
  "modified": "2026-07-08T05:38:53.942970344Z",
  "published": "2026-05-12T19:22:09.813Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42444.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/M2Team/NanaZip/security/advisories/GHSA-7hqh-mq57-wjmq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42444"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "NanaZip: Unbounded resource consumption in NanaZip littlefs parser via attacker-controlled BlockCount"
}