[ Description ]Official description
7-Zip before 26.06 contains a heap out-of-bounds write vulnerability in the LZX decoder that lets attackers corrupt memory when a continuation CAB volume declares a smaller window. Attackers can entice victims to extract crafted multi-volume CAB archives, where a stale _pos value bypasses bounds checks, enabling arbitrary code execution.
[ Fixes ]How to fix it
Fixed versions
- 7-Zip: upgrade to 26.06 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Patchgithub.com
- Release notesgithub.com
[ References ]References
- github.com/ip7z/7zip/blob/26.05/CPP/7zip/Compress/LzxDecoder.cpp
- github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42d
- github.com/ip7z/7zip/releases/tag/26.06
- potion-brew.pages.dev/posts/7zip-cab-lzx-window-desync-rce
- www.vulncheck.com/advisories/7-zip-before-26.06-heap-out-of-bounds-write-via-lzx-decode…