Description
NanaZip is the 7-Zip derivative intended for the modern Windows experience. Prior to 6.5.1749.0, NanaZip's WebAssembly archive handler in NanaZip.Codecs.Archive.WebAssembly.cpp allocates buffers from attacker-controlled 32-bit section and custom-name length fields without validating them against the data present in the file. A tiny crafted module can force multi-gigabyte allocations during listing or extraction through NameSize, Information.Size, and std::string or vector allocation paths, causing memory exhaustion or process termination. This issue is fixed in version 6.5.1749.0.
Problem types
CWE-400: Uncontrolled Resource Consumption
CWE-789: Memory Allocation with Excessive Size Value
Product status
References
github.com/...anaZip/security/advisories/GHSA-qxhc-2v6p-wm8m
github.com/...anaZip/security/advisories/GHSA-qxhc-2v6p-wm8m
github.com/...ommit/1ce90f2d14a984476d0407a835273705607facf2
github.com/...ommit/56aee89037947410dd5e66f3a087e0f290484bae
github.com/...ommit/92b12a6e1eb0cf8e88fcc277aa7508ca1ff27db6
github.com/M2Team/NanaZip/releases/tag/6.5.1749.0