Skip to main content

7-Zip CVE-2026-48111

| EUVDEUVD-2026-34854 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. Recon
    Craft UEFI image with 0x0A opcode in DEPEX section
  2. Delivery
    Package into deliverable archive format
  3. Exploit
    Socially engineer or automate delivery to victim
  4. Install
    Victim opens archive in 7-Zip 9.21-26.00
  5. C2
    UEFI parser auto-invokes ParseDepedencyExpression during Open()
  6. Execute
    Off-by-one reads 8 bytes past kExpressionCommands array
  7. Impact
    Application crash (DoS) or .rdata string leaked into archive metadata

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

Exploitation requires a victim to open an archive containing a UEFI firmware image that includes a SECTION_DXE_DEPEX (type 0x13) or SECTION_PEI_DEPEX (type 0x1B) section with a first body byte value of exactly 0x0A (decimal 10). The 7-Zip UEFI handler must be active - it is enabled by default in stock 7z.dll builds via signature-based format detection for UEFIc and UEFIf formats, so no special configuration is required on the defender's side to be vulnerable. User interaction is required per CVSS UI:R: the victim must actively open the malicious archive. Authentication is not required (PR:N per CVSS vector). Exploitation is limited by the following factors: (1) no write primitive exists, eliminating code execution; (2) information disclosure is restricted to adjacent static .rdata string literals - no heap data, no cryptographic secrets, no ASLR base addresses can be leaked; (3) crash behavior is linker-layout dependent and may simply result in silent metadata population rather than a visible crash; (4) the attacker must know or guess that the target is using a vulnerable 7-Zip version with the UEFI handler active.

Impact

The CVSS 4.3 (Medium) score accurately reflects the constrained real-world impact. The vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L indicates network-reachable delivery with no authentication required but mandatory user interaction (opening a file), with availability as the only confirmed impact. There is no write primitive, no heap data exposure, and no ASLR leak - only a potential crash or static .rdata string exposure into archive metadata, making C:N well-justified. The crash-vs-leak outcome is deterministic per build but linker-layout-dependent, meaning the same binary consistently exhibits one behavior. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV and no public exploit code has been confirmed. The primary real-world risk is DoS via crafted UEFI archives in automated processing pipelines (e.g., CI/CD systems, antivirus scanning infrastructure, or archive portals that process user-supplied firmware images) where user interaction is proxied. For interactive desktop users, the risk is lower due to the UI:R requirement. This is not a high-priority item for most organizations unless UEFI image processing is a core workflow.

Exploit ScenarioDerived

An attacker crafts a UEFI firmware image containing a SECTION_DXE_DEPEX or SECTION_PEI_DEPEX section whose first body byte is exactly 0x0A, packages it in an archive format 7-Zip handles, and delivers it to a target user via email, web download, or shared storage. When the victim opens the file in any 7-Zip version 9.21-26.00, the UEFI parser automatically processes the image during IInArchive::Open(), triggers the off-by-one read, and either crashes 7-Zip (disrupting the user's workflow or breaking an automated pipeline) or silently leaks a nearby .rdata string literal into the archive's Characts metadata field. No public exploit code has been identified at time of analysis, though the GitHub Security Lab advisory (GHSL-2026-115/GHSL-2026-122) provides sufficient technical detail for reproduction.

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 out-of-bounds read in 7-Zip's UEFI firmware image parser (versions 9.21-26.00) allows a network-adjacent attacker to trigger either a denial of service (application crash) or minor information disclosure of an adjacent static .rdata string literal into archive metadata, simply by convincing a user to open a crafted UEFI-containing archive. The vulnerability is reached automatically upon archive open with no special user action beyond opening the file, and affects default 7-Zip installations because the UEFI handler is enabled out-of-the-box. No public exploit code has been identified at time of analysis, no KEV listing exists, and the impact is bounded: there is no write primitive and no disclosure of heap data, secrets, or ASLR base addresses.

RemediationAI

Vendor-released patch: version 26.01. Upgrade to 7-Zip 26.01 or later, which corrects the off-by-one bounds check in ParseDepedencyExpression by replacing > with >= in the opcode validation against kExpressionCommands. Refer to the GitHub Security Lab advisory at https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/ for full disclosure details. If immediate upgrade is not feasible in automated processing environments (e.g., archive scanning pipelines), consider filtering or rejecting UEFI firmware image inputs (files matching UEFIc/UEFIf signatures) upstream before they reach 7-Zip - this eliminates the vulnerable code path at the cost of losing UEFI archive support. There is no known configuration flag to disable the UEFI handler at runtime without recompiling. For interactive desktop deployments where users must open untrusted archives, the UI:R requirement provides a natural gate; user training to avoid opening unexpected UEFI-format archives reduces exposure until patching is complete.

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 flaw resides in the ParseDepedencyExpression function within CPP/7zip/Archive/UefiHandler.cpp, which handles UEFI firmware dependency expressions during archive parsing. The function validates an attacker-controlled opcode byte against the 10-element kExpressionCommands static array using a strict greater-than operator (>) rather than greater-than-or-equal-to (>=), creating an off-by-one condition where opcode value 10 passes the bounds check and causes a read 8 bytes past the end of the array on x64 platforms - reading into adjacent .rodata memory. That out-of-bounds pointer is then dereferenced as a const char* and passed through strlen and memcpy into the archive's Characts property. The root cause is CWE-125 (Out-of-Bounds Read). The code path is automatically activated via IInArchive::Open() through OpenFv/OpenCapsule → ParseVolume → ParseSections when a SECTION_DXE_DEPEX (0x13) or SECTION_PEI_DEPEX (0x1B) section is encountered with a first body byte of 0x0A. Per CPE cpe:2.3:a:mcmilk:7-zip, this affects the mcmilk-attributed 7-Zip distribution across all platforms where the UEFI handler is compiled in, which is the default for stock 7z.dll.

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

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

DescriptionGitHub Advisory

7-Zip is a file archiver with a high compression ratio. Versions 9.21 through 26.00 contain an off-by-one out-of-bounds read vulnerability in the ParseDepedencyExpression function of the UEFI firmware image parser(CPP/7zip/Archive/UefiHandler.cpp). The function validates an attacker-controlled opcode byte using > instead of >= against the element count of the 10-entry kExpressionCommands static array, allowing an opcode value of 10 to read one pointer slot (8 bytes on x64) past the end of the array in .rodata. The out-of-bounds value is then dereferenced as a const char * and passed through strlen and memcpy into the archive's Characts property, which may cause either a denial of service (access violation when the adjacent bytes do not form a valid readable pointer) or a minor information disclosure of an adjacent .rdata string literal into archive metadata. The vulnerability is reached automatically during IInArchive::Open() via the call path OpenFv/OpenCapsule → ParseVolume → ParseSections when processing a SECTION_DXE_DEPEX (0x13) or SECTION_PEI_DEPEX (0x1B) section whose first body byte is 0x0A, and the UEFI handler is enabled by default in stock 7z.dll with signature-based detection for both UEFIc and UEFIf formats. The outcome (crash vs. silent leak) is deterministic per build but linker-layout dependent, with no write primitive and no disclosure of heap data, secrets, or ASLR base addresses. Version 26.01 fixes the issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 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

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