7-Zip's CAB flaw triggers during extraction
A crafted multi-volume CAB archive can trigger code execution in older 7-Zip builds. The published Linux demonstration makes extraction the moment to check.
7-Zip has fixed a flaw that lets a crafted multi-volume Cabinet archive corrupt memory during extraction. Research published on 10 November shows a working code-execution chain on Linux. The victim extracts the first CAB file, and 7-Zip opens the second volume automatically. That extraction is the trigger demonstrated in the research.
The issue, CVE-2026-125742, affects 7-Zip releases before 26.06. VulnCheck rates it High, with a CVSS 4.0 score of 8.5. 7-Zip's release history dates the fixed 26.06 release to 6 November. The public research describes a laboratory demonstration and identifies no attacked organisation.
What the demonstration proves
Researcher Nguyễn Trần Thanh Lâm tested 7-Zip 26.04 and 26.05 on Arch Linux x86-64 with glibc 2.44. The chain turns an invalid memory write into code execution as the user running the extractor. Its reliability depends on the application build, C library and memory layout.
The vulnerable LZX decoder is shared by the official Windows, Linux and macOS builds. The published execution chain was tested on Linux and required archive extraction. Equivalent Windows or macOS chains and a trigger from listing archive contents remain unestablished by this research.

A window changes underneath
LZX decompression keeps a buffer and a position showing where to write next. When an archive continues across CAB volumes, the decoder can preserve its earlier state. In the vulnerable code, a later volume can cause it to allocate a smaller buffer while retaining the old write position.
The decoder then checks the available space using unsigned arithmetic. When the retained position exceeds the new buffer size, that calculation wraps and accepts a write it should reject. The researcher demonstrated how to turn the resulting memory corruption into code execution.
The 26.06 source change resets the write position and history flag when allocating a new window. It also initialises those fields in the decoder's constructor. The repair brings the saved position back into agreement with the buffer that will receive the data.

Action Items
Update 7-Zip to 26.06 or a later supported release and verify the version that actually handles archives. Check desktop installations, command-line utilities, automated extraction jobs and applications that bundle their own copy. Installing a new system copy does not replace a separate embedded decoder.
Until the relevant copies are updated, avoid extracting untrusted multi-volume CAB archives. On machines that have already processed a suspicious archive, correlate its extraction time with new files, child processes and outbound connections. The immediate question is which executable performed the extraction and what it did next. A version check closes the software gap, while that review addresses activity that may have happened before the update.