7-Zip
CVE-2025-53816
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious RAR5 archive
-
DeliveryDelivers archive to target system via file transfer or email
-
ExploitUser or automated process opens archive with 7-Zip
-
InstallRAR5 handler parses malformed file structure
-
C2Buffer overflow writes zeroes beyond heap allocation
-
ExecuteHeap corruption occurs
-
ImpactProcess crashes or memory state corrupts
-
Step 8Denial of service achieved
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability requires local file system access to trigger 7-Zip's RAR5 handler against a specially crafted archive file. No authentication or elevated privileges are needed - any local user can exploit this by placing a malicious RAR5 file on the system and opening it with 7-Zip. The RAR5 archive format must be the trigger; the vulnerability does not affect other archive formats handled by 7-Zip (ZIP, 7z, etc.). Exploitation depends on user interaction (opening the malicious file) or automated archive processing that does not validate file sources. The vulnerability does not require network access, but the malicious archive can be delivered via network means (email, download, file share). No special 7-Zip configuration is required - default installations are vulnerable. |
| Impact | This vulnerability presents a localized but concrete risk. The CVSS 5.5 score reflects the local attack vector (AV:L), which requires file system access or interaction with untrusted archives on the target system. The severity aligns with the Availability impact (VA:H) rather than Confidentiality or Integrity, making denial of service the primary concern. The CVSS vector indicates no privilege escalation required (PR:N), but the local-only attack vector significantly limits exploitation scope compared to network-accessible vulnerabilities. Publicly available exploit code and ease of reproduction (AC:L) increase practical risk. The low CVSS score should not be misinterpreted as low severity - local privilege denial attacks on workstations and servers remain operationally significant, particularly in shared or multi-user environments. Active exploitation likelihood is moderate given public POC availability and the simplicity of triggering the vulnerability through malicious archive files. |
| Exploit ScenarioDerived | An attacker crafts a malicious RAR5 archive file with specially formatted headers or payloads that trigger the heap buffer overflow when 7-Zip's RAR5 handler attempts to decompress or parse the file. A local user (or remote user via file transfer) opens or processes this archive using 7-Zip, causing the application to write zeroes beyond the allocated heap buffer. This corrupts heap metadata and/or adjacent data structures, leading to immediate process crash (denial of service) or potential further memory corruption effects. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
Heap buffer overflow in 7-Zip's RAR5 handler writes zeroes beyond allocated heap memory, causing memory corruption and denial of service in versions prior to 25.0.0. Local attackers can trigger this vulnerability by crafting malicious RAR5 archive files. Publicly available exploit code exists, making this a moderate-priority local vulnerability despite its network-isolated attack surface.
RemediationAI
Upgrade to 7-Zip version 25.0.0 or later immediately. This version contains the fix for the heap buffer overflow in the RAR5 handler. For systems where immediate upgrade is not feasible, restrict access to untrusted RAR5 archives and implement file-level integrity monitoring to detect unexpected archive modifications. If using 7-Zip in automated workflows or scripts, validate archive sources and disable RAR5 support temporarily if alternative archive formats are available. Users should avoid opening RAR5 files from untrusted sources until patched. Debian users should apply updates from the debian-lts-announce security advisory.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
7-Zip's RAR5 archive handler contains a buffer overflow vulnerability (CWE-122: Heap-based buffer overflow) where write operations to heap memory exceed the allocated buffer boundaries. The vulnerability is specifically triggered during RAR5 file format parsing when the handler attempts to write zero bytes to heap memory. This is a classic heap corruption issue distinct from stack-based overflows, with memory safety implications that extend beyond the immediate write operation due to heap metadata corruption potential. The affected component is the RAR5 decompression and parsing logic in 7-Zip versions before 25.0.0.
Know when 7 Zip gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)GitHub Advisory
Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre
Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows
7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vul
The CInArchive::ReadFileItem method in Archive/Udf/UdfIn.cpp in 7zip 9.20 and 15.05 beta and p7zip allows remote attacke
Heap-based buffer overflow in 7-Zip's XZ archive parser enables arbitrary code execution when a victim opens a crafted a
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
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
Same weakness CWE-122 – Heap-based Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.20 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.43 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.45 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.33 Image SL-Micro Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd | Affected |
| SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| openSUSE Leap 15.6 | Fixed |
NVD
CVE.org
EPSS
GitHub
Exploit-DB