7-Zip Fixes CAB Extraction Flaw That Can Enable Arbitrary Code Execution
Vulnerability Disclosure · 7 sources · Updated 5d ago · First seen Nov 9, 2026

7-Zip 26.06 fixes CVE-2026-125742, a heap out-of-bounds write vulnerability affecting earlier versions that can enable arbitrary code execution when a victim extracts a crafted multi-volume CAB archive. The flaw occurs in the LZX decoder when a continuation volume specifies a smaller decompression window while a stale position value bypasses bounds checks, allowing memory corruption. Researcher Nguyễn Trần Thanh Lâm reported demonstrating reverse-shell execution against versions 26.04 and 26.05 on Linux x86-64 with ASLR enabled. The attack requires extraction of the initial archive, after which 7-Zip automatically opens the malicious continuation volume; the supplied reports do not establish exploitation in the wild.
Organizations should prioritize updating to 7-Zip 26.06, including installations used in automated archive-processing workflows, and avoid extracting untrusted CAB archives until patched. Released November 7, the update initially listed only unspecified vulnerability and bug fixes, alongside improved support for files generated by the Linux split utility. Subsequent VulnCheck and CVE advisories identified the CAB decoder vulnerability, while the official release notes provided no vulnerability identifiers, severity ratings, or exploitation details. Because 7-Zip has neither a built-in update checker nor an update mechanism, administrators must deploy the new version through installation packages or a package manager rather than rely on application-driven updates.


