← News
/DISPATCH · 2026-07-27

CVE-2026-14266: 7-Zip XZ heap overflow RCE

7-Zip has a heap buffer overflow, CVE-2026-14266. A crafted XZ archive can execute arbitrary code. Zero Day Initiative published the advisory.

Incident overview

On 15 July 2026, Zero Day Initiative (ZDI) published advisory ZDI-26-444 for a heap-based buffer overflow in 7-Zip: CVE-2026-14266, CVSS 7.0 (High). An attacker can run arbitrary code if the user opens a crafted XZ archive or visits a malicious page.

7-Zip is a widely used compressor/decompressor. Landon Peng reported the bug to the 7-Zip developers on 5 June 2026. The fix shipped in 7-Zip 26.02 on 25 June 2026.

Technical details

Root cause

The bug is in how 7-Zip handles XZ compressed data. Parsing of XZ chunked data is flawed: crafted XZ input can overflow a heap buffer.

Decompressing a malicious XZ file triggers the overflow and corrupts adjacent heap structures. A successful exploit runs arbitrary code in the current process context with no prior privileges.

Vulnerability facts

CVE CVE-2026-14266

CVSS v3.1 7.0 (High)

ZDI ZDI-26-444 / ZDI-CAN-30169

Type CWE-122: Heap-based Buffer Overflow

Attack vector Local (user interaction: open a file or visit a page)

Attack complexity High

Impact Complete loss of confidentiality, integrity, and availability

Exploitation scenarios

7-Zip does not deep-inspect archive contents by default, so users can trigger the bug without noticing.

Impact

User interaction and high attack complexity, but 7-Zip's install base still makes this significant:

Remediation

Upgrade immediately

7-Zip 26.02 (25 June 2026) contains the fix. Upgrade:

Hardening

References