
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-14266 is a heap-based buffer overflow vulnerability in 7-Zip's XZ decompression engine that allows remote attackers to execute arbitrary code on affected systems. Discovered by Landon Peng of Lunbun LLC and reported to the vendor on June 5, 2026, the advisory was publicly released on July 15, 2026 (ZDI-26-444 / ZDI-CAN-30169). All versions of 7-Zip prior to 26.02 are affected, with version 26.01 specifically confirmed vulnerable. The vulnerability carries a CVSS v3.1 base score of 7.8 (High) per NVD, and 7.0 (High) per the Zero Day Initiative (ZDI Advisory, Red Hat Bugzilla, GitHub Advisory).
The root cause is an incorrect calculation of buffer size (CWE-131) leading to a heap-based buffer overflow (CWE-122) during the processing of XZ chunked data within 7-Zip's decompression logic. Crafted XZ-compressed data can trigger an overflow of a heap-allocated buffer when the decompressor fails to properly validate chunk sizes before writing, allowing an attacker to corrupt adjacent heap memory. Exploitation requires user interaction — the target must open a malicious XZ archive or visit a page that triggers automatic extraction. A public Python-based PoC generator (poc-cve-2026-14266-rce.py) has been released that crafts malicious XZ files with options for crash confirmation, cyclic patterns, and shellcode payloads (ZDI Advisory, PoC GitHub).
Successful exploitation allows an unauthenticated attacker to execute arbitrary code in the context of the user running 7-Zip, resulting in full confidentiality, integrity, and availability impact on the affected system. Since 7-Zip is widely deployed across Windows, Linux, and other platforms — often used in automated pipelines and file processing workflows — exploitation could affect both end-user workstations and server environments. If 7-Zip is invoked with elevated privileges or integrated into automated extraction workflows, the impact could extend to privilege escalation or lateral movement within an organization (ZDI Advisory, Red Hat Bugzilla).
A functional Python PoC (poc-cve-2026-14266-rce.py) capable of generating malicious XZ archives with shellcode payloads is publicly available on GitHub (PoC GitHub). A second repository exists but contains only a DoS-capable XZ file with no actionable exploit code. As of the time of reporting, there is no confirmed evidence of in-the-wild exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.92%, reflecting a currently low but non-negligible probability of exploitation. The NVD SSVC assessment classifies the vulnerability as non-automatable with total technical impact, and no threat actor attribution has been made (ZDI Advisory, GitHub Advisory).
poc-cve-2026-14266-rce.py) to generate a specially crafted XZ file with malformed chunked data that triggers the heap buffer overflow. Options include cyclic patterns for crash confirmation or custom shellcode payloads (--payload-shellcode).python poc/poc-cve-2026-14266-rce.py -o malicious.xz --payload-shellcode <shellcode>.xz archive via phishing email, malicious download link, compromised file-sharing platform, or a web page that triggers automatic extraction..xz files in download directories, temp folders, or email attachment staging areas; appearance of web shells, scripts, or new executables created shortly after a 7-Zip extraction event; PoC file poc-cve-2026-14266-mini.xz or similarly named malicious archives.7z.exe, 7zG.exe, 7zFM.exe on Windows; 7z on Linux), such as cmd.exe, powershell.exe, bash, curl, wget, or network-connecting processes with no user-initiated context.The primary remediation is to update 7-Zip to version 26.02 or later, which contains the fix for this vulnerability. No vendor-provided configuration-based workaround has been published; until patching is possible, users should avoid opening XZ-compressed files from untrusted sources. Organizations using 7-Zip in automated pipelines should prioritize patching, as those environments may process untrusted archives without user awareness. Linux distributions including Debian and openSUSE have released updated packages for p7zip; users on those platforms should apply distribution-level updates as well (ZDI Advisory, Debian LTS, openSUSE).
The vulnerability received broad coverage across security media outlets including The Hacker News, GBHackers, Heise, TechSpot, and CyberSecurityNews, with many articles emphasizing the risk to the large installed base of 7-Zip users who lack automatic update mechanisms. Community discussion on Reddit (r/InfoSecNews, r/SecOpsDaily, r/CVEWatch) highlighted concern about 7-Zip's lack of auto-update functionality, which means many users may remain on vulnerable versions indefinitely. Security researchers noted the availability of public PoC code as a significant escalating factor. The SANS Internet Storm Center covered the vulnerability in a podcast episode, and SOCRadar published a dedicated analysis (The Hacker News, Heise, SOCRadar).
Fix availability across major Linux distributions and their releases.
bookworm
p7zip: 16.02+really26.02+dfsg-0+deb12u1
sid
7zip: 26.02+dfsg-1
trixie
p7zip: 16.02+transitional.1
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."