Vulnerability DatabaseCVE-2026-125742

CVE-2026-125742: 
7-Zip vulnerability analysis and mitigation

Overview

CVE-2026-125742 is a heap out-of-bounds write vulnerability in 7-Zip's LZX decoder affecting all versions before 26.06. The flaw allows attackers to corrupt memory when a continuation CAB volume declares a smaller window size than the initial volume, enabling arbitrary code execution. It was published on November 10, 2026, with a patch released in 7-Zip 26.06. The vulnerability carries a CVSS v3.1 score of 7.8 (High) and a CVSS v4.0 score of 8.5 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-787 (Out-of-bounds Write) in the LZX decoder component (CPP/7zip/Compress/LzxDecoder.cpp, lines 1496–1513 in version 26.05). When processing multi-volume CAB archives, the decoder maintains a _pos variable tracking the current position within the LZX decompression window. If a continuation CAB volume declares a smaller window size than the first volume, the stale _pos value from the prior volume is not properly reset or validated, allowing it to bypass bounds checks and write data outside the allocated heap buffer. An attacker must craft a malicious multi-volume CAB archive and entice a victim to extract it using a vulnerable version of 7-Zip. A technical write-up is available at https://potion-brew.pages.dev/posts/7zip-cab-lzx-window-desync-rce (GitHub Advisory, 7-Zip Source).

Impact

Successful exploitation results in high impact to confidentiality, integrity, and availability of the affected system. An unauthenticated attacker (requiring only passive user interaction — the victim extracting a crafted archive) can execute arbitrary code with the privileges of the 7-Zip process, potentially enabling full system compromise, data exfiltration, or installation of malware. The scope is limited to the vulnerable system itself, with no direct subsequent system impact defined in the CVSS scoring (GitHub Advisory, Feedly).

Exploitability

As of the disclosure date (November 10, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is 0.0, reflecting low current exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. Exploitation requires user interaction (a victim must open and extract a crafted multi-volume CAB archive), which somewhat limits the attack surface compared to fully remote, zero-interaction vulnerabilities.

Exploitation steps

  1. Craft malicious multi-volume CAB archive: Create a multi-volume CAB archive where the first volume uses a larger LZX window size and the continuation volume declares a smaller window size, leaving the _pos variable in a stale state that exceeds the new window bounds.
  2. Deliver the archive to the victim: Distribute the crafted .cab file via phishing email, malicious download link, or other social engineering means, targeting users with 7-Zip versions prior to 26.06 installed.
  3. Induce extraction: Entice the victim to open and extract the archive using 7-Zip (e.g., by disguising it as a legitimate software installer or document archive).
  4. Trigger heap out-of-bounds write: When 7-Zip's LZX decoder processes the continuation volume, the stale _pos value bypasses bounds checks, causing a heap write beyond the allocated window buffer.
  5. Achieve arbitrary code execution: By carefully controlling the heap layout and the out-of-bounds write data, an attacker can overwrite adjacent heap metadata or function pointers to redirect execution flow and run arbitrary code with the privileges of the 7-Zip process (GitHub Advisory, 7-Zip Source).

Indicators of compromise

  • File System: Presence of unexpected multi-volume .cab files (e.g., *.cab, *.c01, *.c02) in user download directories or temporary folders; unexpected executables or scripts created in user-writable directories shortly after a CAB extraction event.
  • Process: Unusual child processes spawned by the 7-Zip process (7z.exe, 7zG.exe, 7zFM.exe) such as cmd.exe, powershell.exe, curl, or wget; 7-Zip process crashing (application error) when processing specific CAB files, which may indicate failed exploitation attempts.
  • Logs: Windows Event Log entries (Event ID 1000/1001) showing application crashes in 7z.exe or 7zG.exe with faulting module related to LZX decompression; unexpected process creation events (Event ID 4688) with 7-Zip as the parent process.

Mitigation and workarounds

Update 7-Zip to version 26.06 or later, which contains the fix for this vulnerability in the LZX decoder (LzxDecoder.cpp) (7-Zip Release, Patch Commit). Until patching is possible, avoid extracting multi-volume CAB archives from untrusted or unknown sources, and disable any automated archive extraction features or integrations that process CAB files without user review. Organizations should prioritize updating 7-Zip deployments, particularly on systems where users regularly handle externally sourced archive files.

Community reactions

The vulnerability was noted on social media platforms including Bluesky and Mastodon (infosec.exchange) shortly after disclosure on November 10, 2026. Security analysis was published by Ostorlab at https://blog.ostorlab.co/7zip-lzx-heap-overflow-rce-cve-2026-125742.html, and VulnCheck issued an advisory at https://www.vulncheck.com/advisories/7-zip-before-26.06-heap-out-of-bounds-write-via-lzx-decoder-in-cab-extraction. INCIBE-CERT (Spain's national cybersecurity agency) also published an early warning for the vulnerability. Community reaction was generally focused on the technical novelty of the window desync mechanism and the importance of updating 7-Zip promptly.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

p7zip

Affected

sid

7zip: 26.06+dfsg-1

Fixed

trixie

p7zip: 16.02+transitional.1

Fixed

Ubuntu

Unknown

bionic (esm-apps)

p7zip

Unknown

devel

7zip

Unknown

focal (esm-apps)

p7zip

Unknown

jammy

7zip

Unknown

jammy (esm-apps)

7zip

Unknown

noble

7zip

Unknown

noble (esm-apps)

7zip

Unknown

resolute

7zip

Unknown

Source: This report was generated using AI

Related 7-Zip vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-125742HIGH8.5
  • 7-Zip logo7-Zip
  • cpe:2.3:a:7-zip:7-zip
NoYesNov 10, 2026
CVE-2026-14266HIGH7.8
  • 7-Zip logo7-Zip
  • 7zip-standalone-all
NoYesJul 29, 2026
CVE-2026-104086MEDIUM6.8
  • 7-Zip logo7-Zip
  • p7zip
NoYesOct 14, 2026
CVE-2026-48112MEDIUM6.5
  • 7-Zip logo7-Zip
  • 7zip
NoYesJun 05, 2026
CVE-2026-58052MEDIUM4.8
  • 7-Zip logo7-Zip
  • cpe:2.3:a:7-zip:7-zip
NoYesJun 28, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management