CVE-2026-125742Published Nov 10, 2026 · Nov 10Updated 6d ago
7-Zip code execution in LZX decoding of CAB archives
7-Zip
High8.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| 7-Zip 7-Zip |
| No fix yet |
Original 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.
From the CVE record · VulnCheck
References
- github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42dPatch
- github.com/ip7z/7zip/releases/tag/26.06
- github.com/ip7z/7zip/blob/26.05/CPP/7zip/Compress/LzxDecoder.cpp#L1496-L1513
- potion-brew.pages.dev/posts/7zip-cab-lzx-window-desync-rceExploit
- vulncheck.com/advisories/7-zip-before-26.06-heap-out-of-bounds-write-via-lzx-decoder-in-cab-extraction
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125742.json
- nvd.nist.gov/vuln/detail/CVE-2026-125742
- github.com/ip7z/7zip