CVE-2026-42444: NanaZip: Unbounded resource consumption in NanaZip littlefs parser via attacker-controlled BlockCount
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42444?
CVE-2026-42444 is classified as a denial-of-service vulnerability, which can cause unbounded resource consumption in NanaZip.
How do I fix CVE-2026-42444?
To mitigate CVE-2026-42444, update NanaZip to version 6.0.1698.0 or later.
What versions of NanaZip are affected by CVE-2026-42444?
NanaZip versions from 5.0.1252.0 to before 6.0.1698.0 are affected by CVE-2026-42444.
What components are vulnerable in CVE-2026-42444?
The vulnerability in CVE-2026-42444 exists in the littlefs filesystem image parser's Open method in NanaZip.
Can CVE-2026-42444 lead to system exploitation?
CVE-2026-42444 primarily leads to denial-of-service conditions, but exploitation details would depend on the attacker's control over resource management.