7-Zip before 26.06 Heap Out-of-Bounds Write via LZX Decoder in CAB Extraction
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 10, 2026
- Updated
- Nov 12, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| 7-Zip 7-Zip | before 26.06 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
References
- https://github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42dPatch
- 7-Zip 26.06 Release NotesRelease Notes
- https://github.com/ip7z/7zip/blob/26.05/CPP/7zip/Compress/LzxDecoder.cpp#L1496-L1513Product Page
- https://potion-brew.pages.dev/posts/7zip-cab-lzx-window-desync-rce/Technical DetailsExploit
- VulnCheck Advisory: 7-Zip before 26.06 Heap Out-of-Bounds Write via LZX Decoder in CAB ExtractionThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.