Description
NanaZip is the 7-Zip derivative intended for the modern Windows experience. From version 1.0.88.0 until stable version 6.0.1698.0 and preview version 6.5.1742.0, the Lz4Decode function in NanaZip.Core/SevenZip/CPP/7zip/Archive/SquashfsHandler.cpp rejects only a zero return from LZ4_decompress_safe even though malformed input produces a negative error value. The negative int is converted to the unsigned SizeT destLen and then truncated into outBufWasWrittenSize, causing ReadBlock to trust an attacker-inflated _cachedUnpackBlockSize. During fragment extraction, an attacker-controlled inode Offset can make memcpy read beyond the _cachedBlock heap allocation and place adjacent heap contents in the extracted file, or crash the process. This issue is fixed in stable version 6.0.1698.0 and preview version 6.5.1742.0.
Published: 2026-08-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Lz4Decode routine used by NanaZip to decompress SquashFS archives. A negative return value from the underlying LZ4_decompress_safe function is incorrectly treated as success, which results in an out-of-bounds read when the function later uses the inflated size to copy data into heap memory. This flaw matches CWE-125 and allows an attacker to read adjacent heap contents or crash the process during fragment extraction.

Affected Systems

All Windows installations of NanaZip prior to version 6.0.1698.0 are affected. Preview 6.5.1742.0 remains fixed and is not vulnerable.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, while the EPSS score is not available, so the precise likelihood of exploitation is unknown. The vulnerability has not been listed in CISA’s KEV catalog. An attacker would need to supply a malformed SquashFS archive to NanaZip’s extraction routine. Based on the description, it is inferred that such an operation could occur in a local context where the user processes an untrusted file, or in a remote context if the application accepts archives from external sources. A successful exploitation leads either to information disclosure from the heap or to denial of service through a crash.

Generated by OpenCVE AI on August 20, 2026 at 20:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade NanaZip to version 6.0.1698.0 or later, including the preview 6.5.1742.0 releases, which contain the full fix.
  • If an upgrade is not immediately possible, restrict execution of NanaZip to process archives from trusted sources only, and avoid extracting SquashFS archives created by untrusted users.
  • Disable or bypass the SquashFS LZ4 decompression path in NanaZip until the patched version is deployed, or use an alternative decompression tool that does not contain this flaw.

Generated by OpenCVE AI on August 20, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared M2team
M2team nanazip
Vendors & Products M2team
M2team nanazip

Thu, 20 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Description NanaZip is the 7-Zip derivative intended for the modern Windows experience. From version 1.0.88.0 until stable version 6.0.1698.0 and preview version 6.5.1742.0, the Lz4Decode function in NanaZip.Core/SevenZip/CPP/7zip/Archive/SquashfsHandler.cpp rejects only a zero return from LZ4_decompress_safe even though malformed input produces a negative error value. The negative int is converted to the unsigned SizeT destLen and then truncated into outBufWasWrittenSize, causing ReadBlock to trust an attacker-inflated _cachedUnpackBlockSize. During fragment extraction, an attacker-controlled inode Offset can make memcpy read beyond the _cachedBlock heap allocation and place adjacent heap contents in the extracted file, or crash the process. This issue is fixed in stable version 6.0.1698.0 and preview version 6.5.1742.0.
Title NanaZip: Heap out-of-bounds read in NanaZip SquashFS LZ4 decompressor via unchecked negative return value
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T19:52:07.850Z

Reserved: 2026-06-15T20:07:02.184Z

Link: CVE-2026-54616

cve-icon Vulnrichment

Updated: 2026-08-20T19:51:38.949Z

cve-icon NVD

Status : Received

Published: 2026-08-20T17:18:18.090

Modified: 2026-08-20T20:17:34.867

Link: CVE-2026-54616

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:45:04Z

Weaknesses