Description
7-Zip XZ Decompression Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the processing of XZ chunked data. Crafted XZ-compressed data can trigger an overflow of a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-30169.
Published: 2026-07-29
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap‑based buffer overflow exists in the way 7‑Zip processes XZ chunked data. When a specially crafted XZ file is decompressed, the overflow can be triggered and the attacker can execute code with the privileges of the 7‑Zip process. This leads to remote code execution, the highest impact class for a local application, as it can compromise the entire system if the user runs the program. The weakness is identified as CWE‑122, a classic heap corruption vulnerability.

Affected Systems

All installations of 7‑Zip are potentially affected, regardless of version, because the CVE provides no version restriction. The flaw is present in the XZ decompression component of the program, so any machine that uses 7‑Zip to extract XZ or other files bundled with XZ‑encoded chunks is at risk.

Risk and Exploitability

The CVSS score of 7.8 classifies the issue as high severity, but the EPSS score of less than 1% indicates a very low probability of exploitation in the wild. The vulnerability requires user interaction – the victim must intentionally open a malicious file or visit a malicious web page that triggers a download. KEV lists do not include this CVE, so an active exploit is not widely confirmed. Nonetheless, in environments where users download and decompress files from untrusted sources, the risk is considerable because an attacker can obtain arbitrary code execution as the 7‑Zip process runs under the current user context.

Generated by OpenCVE AI on August 12, 2026 at 00:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest 7‑Zip update that patches the XZ buffer overflow
  • Disable or restrict the XZ decompression feature in 7‑Zip and avoid opening files that contain XZ chunks from untrusted sources
  • Use web filtering or network policies to block download of malicious XZ‑compressed content
  • Educate users to verify the authenticity of files before opening them

Generated by OpenCVE AI on August 12, 2026 at 00:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4718-1 7zip security update
Debian DLA Debian DLA DLA-4719-1 p7zip security update
History

Wed, 29 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared 7-zip
7-zip 7-zip
Vendors & Products 7-zip
7-zip 7-zip

Wed, 29 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
Description 7-Zip XZ Decompression Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of XZ chunked data. Crafted XZ-compressed data can trigger an overflow of a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-30169.
Title 7-Zip XZ Decompression Heap-based Buffer Overflow Remote Code Execution Vulnerability
Weaknesses CWE-122
References
Metrics cvssV3_0

{'score': 7, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-07-30T03:55:31.679Z

Reserved: 2026-06-30T18:43:50.027Z

Link: CVE-2026-14266

cve-icon Vulnrichment

Updated: 2026-07-29T17:30:32.742Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-29T18:16:50.720

Modified: 2026-08-07T20:48:32.290

Link: CVE-2026-14266

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T01:00:04Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow