---
id: "CVE-2026-125742"
page: "https://infrastack.ai/live/CVE-2026-125742"
kind: "vulnerability"
aliases: ["CVE-2026-125742"]
title: "7-Zip: crafted CAB archive lets attackers run code on extraction"
severity: "high"
cvss: 8.5
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["7-zip", "desktop", "package", "windows"]
not_affected_if: ["7-zip-26.06-or-later", "no-cab-extraction"]
published_at: "2026-11-10T12:17:18+00:00"
first_seen_at: "2026-11-10T12:21:54+00:00"
updated_at: "2026-11-10T12:22:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125742", "first_seen_at": "2026-11-10T12:21:54+00:00"}]
exploit_sources: []
---

# 7-Zip: crafted CAB archive lets attackers run code on extraction

Link for people: https://infrastack.ai/live/CVE-2026-125742 (this .md is for agents)

7-Zip contains a heap out-of-bounds write in its LZX decoder that a crafted multi-volume CAB archive can trigger. An attacker who gets a victim to extract that archive can corrupt memory and execute arbitrary code.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed 7-Zip version (Help > About 7-Zip, or `7z i`) and compare it with the fixed version below.
- Look for `.cab` multi-volume archives from untrusted sources in download or extraction folders.

## Fix

- 7-Zip: upgrade to `26.06` or later.

## Timeline

- 2026-11-10T12:21:54+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125742

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/7-zip-before-26.06-heap-out-of-bounds-write-via-lzx-decoder-in-cab-extraction
- [fix] Patch: github.com https://github.com/ip7z/7zip/commit/d3296e39e1f1f92c7b41c0c3848e65640428d42d
- [fix] Release notes: github.com https://github.com/ip7z/7zip/releases/tag/26.06

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
