Skip to main content

7-Zip EUVDEUVD-2026-34849

| CVE-2026-48101 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-06-05 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Craft truncated .scap with oversized CapsuleImageSize
  2. Delivery
    Deliver via phishing or download
  3. Exploit
    Victim opens file in 7-Zip
  4. Install
    OpenCapsule allocates uninitialized heap buffer
  5. C2
    ReadStream_FALSE partial read silently discarded
  6. Execute
    Uninitialized heap memory exposed via GetStream as extracted content
  7. Impact
    Attacker recovers sensitive heap data

Vulnerability Assessment

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

The victim must open a specially crafted UEFI capsule (.scap) file using an affected version of 7-Zip (9.21 through 26.00); this satisfies the UI:R (user interaction required) condition in the CVSS vector. The crafted file must declare a CapsuleImageSize larger than the actual file content, making it a truncated capsule. No authentication or elevated privilege is required on the attacker's side (PR:N), and no special server-side configuration of 7-Zip is needed - the vulnerability exists in the default UEFI capsule parsing path. Exploitation is limited by: (1) the requirement for user interaction - the victim must manually open the file; (2) heap content being non-deterministic, requiring the attacker to either predict heap layout or accept probabilistic disclosure; and (3) the attacker needing a mechanism to retrieve the extracted output (e.g., the victim saves the extracted 'file' and it is exfiltrated, or the attacker has local access to the extraction directory). There is no network-listening component in 7-Zip; the network vector (AV:N) reflects delivery of the malicious file, not a remotely accessible service.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N yields a 6.5 (Medium), reflecting high confidentiality impact but constrained by the UI:R (user interaction required) element - the victim must manually open the crafted file. This is a meaningful reduction in real-world risk compared to a fully autonomous network exploit. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. No CISA KEV listing is present, and no public proof-of-concept exploit code has been identified at time of analysis. The GitHub Security Lab advisory (GHSL-2026-115/GHSL-2026-122) is a responsible disclosure report, not a weaponized release. The primary risk is targeted information disclosure - an attacker who can predict or influence heap layout (e.g., through repeated archive operations in the same process) could potentially extract credentials, keys, or other sensitive in-memory data. The 1 GiB ceiling on the attacker-controlled allocation size is notable: a sufficiently large allocation may span previously freed sensitive objects. Overall, this is a real but non-critical issue: high CVSS confidentiality impact is accurate in worst-case scenarios, but real-world exploitation requires social engineering and a favorable heap state.

Exploit ScenarioDerived

An attacker crafts a malicious .scap file with a CapsuleImageSize header value set to a large number (e.g., 500 MiB) while providing only a small amount of actual file data, creating a deliberately truncated capsule. The file is delivered to a target via phishing email, a download link, or a shared network drive, and the victim opens it with 7-Zip. Because ReadStream_FALSE's failure is silently ignored, 7-Zip surfaces the unread, uninitialized heap region as extracted archive content, which the attacker can retrieve to potentially recover sensitive in-memory data such as recently freed buffers containing credentials or cryptographic material. No public proof-of-concept exploit code has been identified at time of analysis.

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 memory disclosure in 7-Zip's UEFI capsule (.scap) parser exposes potentially sensitive heap contents when an unauthenticated remote attacker delivers a crafted capsule file that a user opens. The OpenCapsule function allocates a heap buffer sized by the attacker-controlled CapsuleImageSize field without zero-initialization, then silently ignores read failures on truncated files, causing the unread tail - containing raw heap data - to be surfaced as extracted file content. Affecting versions 9.21 through 26.00, a fix is available in 26.0.1; no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade 7-Zip to version 26.0.1 or later, which resolves the uninitialized heap disclosure by ensuring the buffer is zero-initialized before use and/or properly handling partial reads from ReadStream_FALSE. The fix is referenced in the GitHub Security Lab advisory at https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/. For environments where immediate patching is not feasible, a targeted workaround is to configure file association policies or 7-Zip's context menu integration to block or warn on .scap (UEFI capsule) files, since the vulnerability is specific to that parser. Alternatively, restrict processing of .scap files at the endpoint or mail gateway level to prevent delivery of crafted capsule files to end users. Note that blocking .scap files at the perimeter has no functional side effect for the vast majority of users who have no legitimate need to extract UEFI capsule archives. No other parser components are implicated by the current CVE description.

Affected VersionsENISA

7-Zip 9.21, < 26.01

Affected Packages

euvd 7_zip_9_21 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

7-Zip's UEFI capsule parser (the OpenCapsule function) is responsible for extracting .scap files, a format used for firmware update payloads. The root cause is CWE-908 (Use of Uninitialized Resource): the function allocates a heap buffer whose size is derived directly from the attacker-controlled CapsuleImageSize field in the capsule header - up to 1 GiB - without calling memset or equivalent zero-initialization. It then populates the buffer via ReadStream_FALSE, whose return value indicating partial or failed reads is silently discarded. On a crafted truncated .scap file, the unread tail of the heap buffer retains whatever data previously occupied that memory region (stack frames, freed allocations, other in-process data). This content is subsequently returned to the caller via GetStream as if it were legitimate extracted file content, constituting a heap disclosure. The CPE string cpe:2.3:a:mcmilk:7-zip identifies the mcmilk GitHub-hosted distribution of 7-Zip. Reported under GitHub Security Lab advisories GHSL-2026-115 and GHSL-2026-122.

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

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

DescriptionCVE.org

7-Zip is a file archiver with a high compression ratio. Versions 9.21 through 26.00 contain an An uninitialized memory disclosure vulnerability in the UEFI capsule (.scap) parser in 7-Zip. The OpenCapsule function allocates a heap buffer of attacker-declared CapsuleImageSize (up to 1 GiB) without zero-initialization, then reads the file contents into it with ReadStream_FALSE whose return value is silently discarded. If the file is truncated, the unread tail of the buffer retains uninitialized heap memory, which is then exposed as extracted file content via GetStream. Version 26.0.1 fixes the issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% 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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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: Moderate
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