# CVE-2026-54616: NanaZip: Heap out-of-bounds read in NanaZip SquashFS LZ4 decompressor via unchecked negative return value

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-29)
- **CWE:** CWE-125
- **Published:** 2026-08-20T16:11:54.192Z
- **Modified:** 2026-10-18T20:10:00.110Z

## Who should check

- Anyone running M2Team NanaZip \>= 1.0.88.0, \< 6.0.1698.0; \>= 6.5.1638.0, \< 6.5.1742.0

## 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.

## Affected and fixed versions

- M2Team NanaZip: \>= 1.0.88.0, \< 6.0.1698.0; \>= 6.5.1638.0, \< 6.5.1742.0 (cvelist)

## Mitigation

- Upgrade NanaZip to 6.5.1742.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54616. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54616.md
Affected: M2Team NanaZip >= 1.0.88.0, < 6.0.1698.0; >= 6.5.1638.0, < 6.5.1742.0
Fixed in: M2Team NanaZip 6.0.1698.0, M2Team NanaZip 6.5.1742.0

Steps:
1. Search this machine and project for M2Team NanaZip: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54616 being exploited?

There is no confirmed exploitation: CVE-2026-54616 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-54616?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-54616?

M2Team NanaZip \>= 1.0.88.0, \< 6.0.1698.0; \>= 6.5.1638.0, \< 6.5.1742.0.

### Is there a fix for CVE-2026-54616?

Yes. Fixed in M2Team NanaZip 6.0.1698.0, M2Team NanaZip 6.5.1742.0. Upgrade NanaZip to 6.5.1742.0 or later.

### How do I check if I'm affected by CVE-2026-54616?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/M2Team/NanaZip/security/advisories/GHSA-95x5-qvvm-hmfp>
- patch: <https://github.com/M2Team/NanaZip/commit/733e8570d2ba96c3e52aab44f5fd886775d5952f>
- patch: <https://github.com/M2Team/NanaZip/commit/ce0322a1932e16a53e4a13e48bc61804c7826956>
- other: <https://github.com/M2Team/NanaZip/releases/tag/6.0.1698.0>
- other: <https://github.com/M2Team/NanaZip/releases/tag/6.5.1742.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54616>

HTML: <https://flawdb.com/CVE-2026-54616> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54616>
