Skip to main content

7-Zip CVE-2026-48104

| EUVDEUVD-2026-34853 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-06-05 GitHub_M
4.2
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Craft sparse SquashFS archive with few inodes
  2. Delivery
    Deliver archive via email, web, or file share
  3. Exploit
    Victim opens archive in 7-Zip 9.18-26.00
  4. Execution
    OpenDir reads uninitialized _blockToNode slots as search bounds
  5. Impact
    Wild-pointer dereference produces crash or heap byte disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

The victim must manually open a crafted SquashFS archive using an affected 7-Zip version (9.18-26.00) - user interaction is required and confirmed by UI:R in the CVSS vector. The SquashFS archive handler must be active, which it is by default in stock 7z.dll builds; no non-default configuration is needed to expose the vulnerable code path. The attacker must craft the archive with few inodes spanning many metadata blocks to maximize sparsely populated _blockToNode slots containing uninitialized heap residue; a standard or well-formed SquashFS image is unlikely to trigger the condition. Reliable exploitation is further constrained by heap-layout dependency at the time of Open() - the description explicitly states the issue is 'not reliably triggerable,' meaning heap state at runtime determines whether the read produces a crash or a meaningful disclosure. No authentication is required (PR:N confirmed in CVSS vector). There is no remote execution path without user interaction; the malicious archive must be opened by the user.

Impact

The CVSS 3.1 base score of 4.2 (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L) accurately reflects the dual nature of this issue: wide reach but low reliability. The network attack vector (AV:N) means a malicious archive can be delivered remotely, and no privileges are required (PR:N confirmed in CVSS). However, attack complexity is rated High (AC:H) because successful exploitation is explicitly described as heap-layout-dependent and 'not reliably triggerable,' meaning outcomes vary with runtime heap state. User interaction is required (UI:R) - the victim must open the archive. Impact is bounded: low confidentiality (heap byte disclosure, no structured data exfiltration), no integrity impact (no write primitive), and low availability (crash, not persistent denial of service). No EPSS score was available in the provided data, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept exploit has been identified at time of analysis. Overall, this is a low operational priority - the AC:H rating, heap-layout dependency, and mandatory user interaction collectively make reliable exploitation difficult - but the wide affected version range (9.18-26.00) and availability of a fix in 26.01 make routine patching the appropriate response.

Exploit ScenarioDerived

An attacker crafts a SquashFS archive with few inodes spanning many metadata blocks, deliberately leaving most _blockToNode slots unpopulated and filled with raw heap residue, then delivers it to a target via email attachment, web download, or network file share. When the victim opens the archive with an affected 7-Zip version (9.18-26.00), OpenDir reads uninitialized heap memory as binary search bounds during Open(), resulting in either a wild-pointer dereference crash (denial of service) or, in favorable heap layouts, disclosure of heap contents that could inform a more sophisticated subsequent attack. No public exploit has been identified at time of analysis; the description explicitly notes exploitation is heap-layout-dependent and not reliably triggerable, consistent with AC:H in the CVSS vector.

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

Uninitialized heap read in 7-Zip's SquashFS archive handler (versions 9.18 through 26.00) can crash the application and leak raw heap memory contents when a user opens a specially crafted archive. The flaw originates in the _blockToNode array, which is allocated but never zero-initialized; an attacker-controlled blockIndex derived from the RootInode superblock field drives a binary search over uninitialized slots, producing a chained out-of-bounds read with no write primitive. No public exploit has been identified at time of analysis, and the description explicitly characterizes exploitation as heap-layout-dependent and not reliably triggerable, which is consistent with the CVSS AC:H rating and limits practical risk despite the network-deliverable attack surface.

RemediationAI

Upgrade 7-Zip to version 26.01, which resolves this vulnerability per the CVE description and the GitHub Security Lab advisory (GHSL-2026-115, GHSL-2026-122) at https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/. If an immediate upgrade is not feasible, restrict the ability to open untrusted SquashFS archives via 7-Zip by blocking SquashFS file extensions (.sqfs, .sfs) at email gateways, web proxies, or endpoint DLP controls - this eliminates the delivery vector at the cost of blocking legitimate SquashFS file handling. Because the SquashFS handler is compiled into 7z.dll and enabled by default, there is no documented runtime configuration switch to disable it selectively; removal or replacement of the DLL would mitigate the issue but would disable all 7z.dll-dependent functionality. No other vendor-documented workarounds are available in the referenced advisory.

Affected VersionsENISA

7-Zip 9.18, < 26.01

Affected Packages

euvd 7_zip_9_18 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 affected component is 7-Zip's SquashFS archive handler, identified via CPE cpe:2.3:a:mcmilk:7-zip:*:*:*:*:*:*:*:* as the mcmilk community-maintained fork. The root cause is CWE-908 (Use of Uninitialized Resource): _blockToNode is allocated with capacity for every metadata block in the SquashFS image but is populated only when an inode crosses a block boundary. Because the underlying C++ allocator does not zero-initialize plain-old-data (POD) storage, a crafted image with few inodes spanning many blocks leaves most array slots holding raw heap residue from prior allocations. The OpenDir function reads two of these uninitialized slots as the left and right bounds for a binary search over _nodesPos, then dereferences the computed midpoint without bounds validation. If the dereferenced value matches the search key, the returned index is used to read a full node struct from _nodes, whose fields feed further directory parsing - forming a chained OOB read primitive. The SquashFS handler is enabled by default in stock 7z.dll, and the vulnerability triggers during Open() without any interaction beyond the act of opening the archive.

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.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L
SUSE 3.6 LOW
AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

1
Patch available
Jun 05, 2026 - 18:01 EUVD

DescriptionGitHub Advisory

7-Zip is a file archiver with a high compression ratio. Versions 9.18 through 26.00 contain an uninitialized heap read in the SquashFS archive handler caused by a sparsely populated index array. In the SquashFS handler, _blockToNode is allocated with capacity for every metadata block but populated only when an inode crosses a block boundary, so a crafted image with few inodes spanning many blocks leaves most slots holding raw heap contents (the underlying allocator does not zero-initialize POD storage). When OpenDir looks up an attacker-influenced blockIndex (derived from the RootInode superblock field), it reads two of these uninitialized slots and passes them as the left/right bounds of a binary search over _nodesPos, which dereferences the midpoint without bounds checking; if the resulting value happens to match the search key, the returned index is used to read a full node struct from _nodes whose fields feed further directory parsing, forming a chained OOB read primitive that is heap-layout-dependent and not reliably triggerable. The SquashFS handler is enabled by default in stock 7z.dll and the issue triggers during Open() with no interaction beyond opening the file; impact is denial of service from wild-pointer dereference and potential heap information disclosure, with no write primitive. Version 26.01 fixes the issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
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

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

Attack Technique

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