{"id":"CVE-2026-54616","aliases":["CVE-2026-54616"],"related":[],"kind":"vulnerability","state":"published","title":"NanaZip: Heap out-of-bounds read in NanaZip SquashFS LZ4 decompressor via unchecked negative return value","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"NanaZip es el derivado de 7-Zip destinado a la experiencia moderna de Windows. Desde la versión 1.0.88.0 hasta la versión estable 6.0.1698.0 y la versión preliminar 6.5.1742.0, la función Lz4Decode en NanaZip.Core/SevenZip/CPP/7zip/Archive/SquashfsHandler.cpp rechaza solo un retorno cero de LZ4_decompress_safe a pesar de que una entrada malformada produce un valor de error negativo. El entero negativo se convierte al SizeT sin signo destLen y luego se trunca en outBufWasWrittenSize, haciendo que ReadBlock confíe en un _cachedUnpackBlockSize inflado por el atacante. Durante la extracción de fragmentos, un Offset de inodo controlado por el atacante puede hacer que memcpy lea más allá de la asignación de montón _cachedBlock y coloque contenidos de montón adyacentes en el archivo extraído, o bloquee el proceso. Este problema se corrige en la versión estable 6.0.1698.0 y la versión preliminar 6.5.1742.0.","source":"nvd"}],"published":"2026-08-20T16:11:54.192Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":">= 1.0.88.0, < 6.0.1698.0","status":"affected"},{"version":">= 6.5.1638.0, < 6.5.1742.0","status":"affected"}],"vendor":"M2Team","product":"NanaZip","source":"cvelist"}],"references":[{"url":"https://github.com/M2Team/NanaZip/security/advisories/GHSA-95x5-qvvm-hmfp","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/M2Team/NanaZip/commit/733e8570d2ba96c3e52aab44f5fd886775d5952f","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/M2Team/NanaZip/commit/ce0322a1932e16a53e4a13e48bc61804c7826956","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/M2Team/NanaZip/releases/tag/6.0.1698.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/M2Team/NanaZip/releases/tag/6.5.1742.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-20T19:52:01.141Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54616","url":"https://www.cve.org/CVERecord?id=CVE-2026-54616","licence":"CVE Terms of Use","modified":"2026-08-20T19:52:07.850Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54616","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54616","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.664Z","epss":{"score":0.00406,"percentile":0.3691,"date":"2026-12-01T12:00:22.000Z"}}