7-Zipで細工されたCABを展開すると任意のコードを実行される脆弱性
Summary
7-ZipのCAB展開処理に、LZXデコーダーのヒープ領域の範囲外書き込みによる脆弱性が見つかりました。細工された複数ボリュームのCABファイルを展開すると、メモリが壊されて任意のコードを実行されるおそれがあります。影響を受けるのは26.06より前の版で、修正版の26.06への更新が必要です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
7-ZipのCAB展開処理に、LZXデコーダーのヒープ領域の範囲外書き込みによる脆弱性が見つかりました。細工された複数ボリュームのCABファイルを展開すると、メモリが壊されて任意のコードを実行されるおそれがあります。影響を受けるのは26.06より前の版で、修正版の26.06への更新が必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| 7-Zip7-Zip |
< 26.06→ 26.06 |
26.06 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125742 p7zip, 7zip Fix available
- Ubuntu UBUNTU-CVE-2026-125742 p7zip, 7zip No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report potion-brew.pages.dev
- web github.com
- web potion-brew.pages.dev
- web github.com