CVE-2026-125742
7-Zip before 26.06 contains a heap out-of-bounds write …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ip7z/7zip/blob/26.05/CPP/7zip/Compress/LzxDecoder.cpp#L1496-L1513
- 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-decoder-i
- nvd.nist.gov/vuln/detail/CVE-2026-125742
- cve.org/CVERecord?id=CVE-2026-125742
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.