Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
File must be opened locally by the victim (AV:L, UI:R); no attacker privileges required to deliver the archive (PR:N); full process-level confidentiality, integrity, and availability impact (C/I/A:H).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
7-Zip contains a heap-based buffer overflow vulnerability in the handling of specially crafted XZ chunked data. Successful exploitation requires a victim to open a malicious archive containing a crafted XZ payload, allowing an attacker to execute arbitrary code in the context of the current process. Reported by Landon Peng of Lunbun LLC via the Zero Day Initiative; fixed in 7-Zip 26.02.
AnalysisAI
Heap-based buffer overflow in 7-Zip's XZ archive parser enables arbitrary code execution when a victim opens a crafted archive on 7-Zip 26.01 and earlier; fixed in 7-Zip 26.02. Reported by Landon Peng of Lunbun LLC through the Zero Day Initiative, this flaw carries full confidentiality, integrity, and availability impact at the process level. A public POC is confirmed available via the Italian ACN portal, though EPSS sits at only 0.92% (57th percentile) and no CISA KEV listing exists, indicating targeted rather than widespread exploitation at time of analysis.
Technical ContextAI
7-Zip's internal XZ decompression handler fails to properly validate boundary conditions when processing specially crafted XZ chunked data streams, resulting in a write beyond the bounds of a heap-allocated buffer (CWE-122, Heap-based Buffer Overflow). XZ is a lossless compression format built on LZMA2 that uses a block/chunk framing layer; the vulnerable code path is reached whenever 7-Zip encounters an XZ-compressed stream inside a supported archive container. Heap overflows of this class typically corrupt adjacent allocations, enabling controlled write primitives that can redirect execution flow. The affected product is unambiguously identified by CPE cpe:2.3:a:7-zip:7-zip:*:*:*:*:*:*:*:*, with EUVD data pinpointing version 26.01 as the last affected release.
RemediationAI
The primary fix is upgrading to 7-Zip 26.02, the vendor-released patch explicitly confirmed in the CVE description; obtain it from the official 7-Zip site. Where immediate upgrade is blocked by operational constraints, consider sandboxing archive-opening operations using OS-level isolation (Windows Sandbox, Firejail on Linux, or macOS App Sandbox), which limits the blast radius of a successful exploit to the sandboxed process rather than the full user session. As an additional gateway-level control, quarantining or rejecting inbound XZ-format archives (file extension .xz, MIME application/x-xz) at email or web proxy reduces exposure to phishing-delivered payloads, though this will break legitimate XZ archive workflows. Full advisory references: https://www.zerodayinitiative.com/advisories/ZDI-26-444/ and https://seclists.org/oss-sec/2026/q3/169.
Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows
The CInArchive::ReadFileItem method in Archive/Udf/UdfIn.cpp in 7zip 9.20 and 15.05 beta and p7zip allows remote attacke
A null pointer dereference bug affects the 16.02 and many old versions of p7zip. Rated high severity (CVSS 7.5), this vu
7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is d
Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memor
Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead
p7zip 9.20.1 allows remote attackers to write to arbitrary files via a symlink attack in an archive. Rated medium severi
Heap buffer overflow in 7-Zip's RAR5 handler writes zeroes beyond allocated heap memory, causing memory corruption and d
Mark-of-the-Web protection is bypassed in 7-Zip for Windows 26.02 and earlier when extracting crafted RAR5 archives, all
Remote code execution in 7-Zip versions 26.00 and earlier is achievable via a crafted NTFS image that triggers a heap bu
7-Zip through 18.01 on Windows implements the "Large memory pages" option by calling the LsaAddAccountRights function to
Untrusted search path vulnerability in 7 Zip for Windows 16.02 and earlier allows remote attackers to gain privileges vi
Same weakness CWE-122 – Heap-based Buffer Overflow
View allVendor StatusVendor
SUSE
| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-50420
GHSA-836v-xv29-x32v