Skip to main content

7-Zip CVE-2026-48103

| EUVDEUVD-2026-34852 MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-05 GitHub_M
4.3
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft WIM with malicious securityId
  2. Delivery
    Deliver archive to target user
  3. Exploit
    User opens file in 7-Zip GUI or runs listing via CLI
  4. Execution
    Per-item property enumeration triggers OOB read
  5. Impact
    7-Zip process crashes (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must open or list a specially crafted WIM-format archive (.wim, .swm, .esd, or .ppkg extension) using an affected 7-Zip installation (versions 9.34-26.00). In the GUI (7zFM.exe), exploitation is zero-click once the archive is navigated to, because the file listing view automatically calls GetRawProp(kpidNtSecure) for all items. Via CLI, the listing command 7zz l -slt is also a reachable path. The WIM handler must be registered - this is the default configuration in stock 7z.dll, so no non-default settings are required on the victim side. Exploitation is limited to denial of service (crash) under hardened allocator configurations; there is no write primitive, no scope change, and the OOB value is not returned to the attacker, ruling out meaningful code execution or data exfiltration. The CVSS UI:R flag confirms that passive network exposure alone is insufficient - a user action (opening the archive) is required.

Impact

The CVSS 4.3 Medium score reflects a narrow impact profile: AV:N (network-deliverable archive) with AC:L (low complexity) and PR:N (no authentication required by the attacker), but UI:R (user interaction required) with S:U (no scope change) and a partial availability impact (A:L) and no confidentiality or integrity impact (C:N/I:N). Despite the network-reachable attack vector, real-world risk is meaningfully constrained by two factors: first, exploitation requires a user to open or list a crafted WIM file, introducing a social-engineering dependency; second, the OOB value is consumed only arithmetically as a length and is not surfaced to the attacker, eliminating any practical exploitation path beyond denial of service under modern hardened allocators. The absence of a write primitive further forecloses memory corruption exploitation. No EPSS score was provided in the input data. There is no CISA KEV listing and no confirmed public POC, placing this squarely in the category of a high-quality bug report without demonstrated weaponization. The primary real-world scenario is an attacker delivering a malicious WIM disguised as a legitimate archive (e.g., a Windows image or software package), causing 7-Zip to crash on listing - a nuisance-level outcome for most deployments. Automated pipeline processing of untrusted WIM files (e.g., CI/CD, AV scanning infrastructure) would be the higher-risk deployment context.

Exploit ScenarioDerived

An attacker crafts a WIM archive containing a directory entry with a securityId value equal to numEntries at offset +0xC, then delivers it to a target user as a seemingly legitimate Windows image or software package. When the victim opens the archive in 7-Zip's GUI file manager (7zFM.exe), the ListView automatically enumerates file properties including kpidNtSecure, triggering the off-by-one OOB read for every listed item with no further interaction required beyond browsing to the file. Under common allocator configurations this causes 7-Zip to crash (denial of service); under adversarially ideal heap layouts a single out-of-bounds UInt32 may be leaked arithmetically, though this does not provide a meaningful information disclosure path given the value is not returned to the attacker.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 05, 2026

Off-by-one heap out-of-bounds read in 7-Zip's WIM archive handler (versions 9.34-26.00) allows a remote unauthenticated attacker to trigger denial of service - and potentially minor information disclosure - by delivering a crafted WIM file. The vulnerability is zero-click exploitable in the GUI: 7zFM.exe automatically calls GetRawProp(kpidNtSecure) for every listed item, triggering the OOB read without any additional user interaction beyond opening or navigating to the malicious archive. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

No vendor-released patch with a confirmed fixed version number is available in the provided data. Upstream GitHub Security Lab advisories GHSL-2026-115 and GHSL-2026-122 document the flaw at https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/ - monitor this advisory and the mcmilk 7-Zip GitHub repository for a patched release. Until a fix is available, the most targeted compensating control is to avoid opening untrusted WIM, SWM, ESD, or PPKG files with 7-Zip directly; these extensions can be disassociated from 7-Zip's file handler registration to prevent accidental GUI triggering. For pipeline or server-side environments that automatically process archives, filter or reject WIM-format inputs at ingestion boundaries as a temporary measure - note this blocks legitimate WIM processing as a side effect. The vulnerability is not exploitable for code execution under current analysis, so urgency of patching is lower than for memory-write primitives; however, updating to the patched release once available remains the definitive remediation.

Affected VersionsENISA

7-Zip 9.34, < 26.01

Affected Packages

euvd 7_zip_9_34 fix: 26.01

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable code resides in CHandler::GetSecurity within CPP/7zip/Archive/Wim/WimHandler.cpp, which handles the Windows Imaging (WIM) archive format. The WIM handler maintains a per-image SecurOffsets table of numEntries + 1 cumulative offsets. The off-by-one arises because the bounds check securityId >= SecurOffsets.Size() permits securityId to equal numEntries, after which the code dereferences SecurOffsets[securityId + 1] - reading one UInt32 past the end of the heap-allocated CRecordVector, which performs no internal bounds checking on operator[]. The root cause is CWE-125 (Out-of-bounds Read). Critically, the securityId value is attacker-controlled: it resides at offset +0xC within any WIM directory entry embedded in WIM metadata. The handler is registered by default for .wim, .swm, .esd, and .ppkg extensions and is active in stock 7z.dll. The CPE string (cpe:2.3:a:mcmilk:7-zip:*:*:*:*:*:*:*:*) attributes the flaw to the mcmilk-maintained 7-Zip fork on GitHub, though the description also implicates binaries (7zFM.exe, 7zz) associated with official 7-Zip releases - this overlap should be verified with the vendor. The vulnerability has been confirmed via ASan (AddressSanitizer), establishing a reliable crash signal.

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

GitHub Advisory PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
SUSE 3.3 LOW
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Jun 05, 2026 - 18:01 EUVD
CVE Published
Jun 05, 2026 - 15:48 nvd
MEDIUM 4.3

DescriptionGitHub Advisory

7-Zip is a file archiver with a high compression ratio. Versions 9.34 through 26.00 contain an off-by-one heap out-of-bounds read in the WIM (Windows Imaging) archive handler's security descriptor lookup. In CHandler::GetSecurity (CPP/7zip/Archive/Wim/WimHandler.cpp), the per-image SecurOffsets table holds numEntries + 1 cumulative offsets, but the check securityId >= SecurOffsets.Size() admits securityId == numEntries, and the function then reads SecurOffsets[securityId + 1], fetching one UInt32 past the end of the heap-allocated CRecordVector (which performs no bounds checking on operator[]). The securityId is attacker-controlled at offset +0xC of any directory entry in WIM metadata, and the handler is registered for .wim, .swm, .esd, and .ppkg and enabled by default in stock 7z.dll; the OOB triggers zero-click in the GUI because 7zFM.exe's ListView calls GetRawProp(kpidNtSecure) for every item during listing (ASan-confirmed), and is also reachable via CLI listing with 7zz l -slt. Impact is limited to denial of service under hardened allocators and minor information disclosure, since the OOB value is only consumed arithmetically as a length and is not surfaced to the attacker; there is no write primitive.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in 7 Zip

View all
CVE-2026-111497 CRITICAL POC
9.2 Oct 21

Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre

CVE-2016-2334 HIGH POC
7.8 Dec 13

Heap-based buffer overflow in the NArchive::NHfs::CHandler::ExtractZlibFile method in 7zip before 16.00 and p7zip allows

CVE-2025-11001 HIGH POC
7.8 Nov 19

7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vul

CVE-2016-2335 HIGH POC
8.8 Jun 07

The CInArchive::ReadFileItem method in Archive/Udf/UdfIn.cpp in 7zip 9.20 and 15.05 beta and p7zip allows remote attacke

CVE-2026-14266 HIGH POC
7.8 Jul 15

Heap-based buffer overflow in 7-Zip's XZ archive parser enables arbitrary code execution when a victim opens a crafted a

CVE-2016-9296 HIGH POC
7.5 Nov 12

A null pointer dereference bug affects the 16.02 and many old versions of p7zip. Rated high severity (CVSS 7.5), this vu

CVE-2022-29072 HIGH POC
7.8 Apr 15

7-Zip through 21.07 on Windows allows privilege escalation and command execution when a file with the .7z extension is d

CVE-2018-10115 HIGH POC
7.8 May 02

Incorrect initialization logic of RAR decoder objects in 7-Zip 18.03 and before can lead to usage of uninitialized memor

CVE-2018-5996 HIGH POC
7.8 Jan 31

Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead

CVE-2015-1038 MEDIUM POC
5.8 Jan 21

p7zip 9.20.1 allows remote attackers to write to arbitrary files via a symlink attack in an archive. Rated medium severi

CVE-2025-53816 MEDIUM POC
5.5 Jul 17

Heap buffer overflow in 7-Zip's RAR5 handler writes zeroes beyond allocated heap memory, causing memory corruption and d

CVE-2026-58052 MEDIUM POC
4.8 Jun 28

Mark-of-the-Web protection is bypassed in 7-Zip for Windows 26.02 and earlier when extracting crafted RAR5 archives, all

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy