Skip to main content

7-Zip CVE-2026-48102

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

Attack ChainAIDerived

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

  1. Access
    Craft malicious UDF image with exact-size buffer alignment gap
  2. Delivery
    Deliver .iso/.udf to victim via email, share, or download
  3. Exploit
    Victim opens file in 7-Zip 26.00 or earlier
  4. Execution
    UDF handler auto-invoked during Open()
  5. Persist
    Alignment-padding loop reads 1-3 bytes past heap buffer
  6. Impact
    Crash (hardened allocator) or 1-bit heap oracle disclosed per OOB byte

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 that the victim use 7-Zip (versions 9.11 through 26.00) to open, list, or extract a crafted UDF disc image file (.iso or .udf extension, or any file whose signature triggers the UDF handler). User interaction is required - the victim must actively attempt to process the malicious file. The attacker must craft the UDF File Identifier Descriptor so that 38 + impLen + idLen equals the exact allocated buffer size and is not divisible by 4; this is a non-trivial but achievable construction, reflected in the High attack complexity rating. No authentication or prior access to the target system is required beyond delivering the file (AV:N, PR:N per CVSS). The DoS outcome additionally requires that the 7-Zip process run under a hardened memory allocator (e.g., AddressSanitizer, hardened_malloc, or similar); standard allocators may silently read adjacent heap memory instead of crashing.

Impact

Real-world risk is low. The CVSS 3.1 score of 3.1 (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N) is consistent with the technical description: attack complexity is High because the crafted UDF image must be precisely constructed to hit the exact-size buffer condition, and User Interaction is required because a victim must open or extract the malicious archive. The read primitive yields at most a 1-bit oracle per out-of-bounds byte, severely limiting practical information-disclosure utility. The availability impact listed in the CVSS vector is N:None, yet the description notes DoS is possible under hardened memory allocators - this minor discrepancy should be acknowledged; the CVSS rating appears conservative on the availability dimension. No EPSS data was provided in the source intelligence. No KEV listing exists and no public exploit code has been identified, consistent with the narrow exploitation conditions. The primary realistic threat is DoS against users who process untrusted UDF images in hardened environments, not data exfiltration.

Exploit ScenarioDerived

An attacker delivers a specially crafted .iso or .udf file - via email attachment, file share, or download - constructed so that the File Identifier Descriptor's combined impLen and idLen fields cause the buffer allocation to exactly match the processed offset while leaving a non-4-byte-aligned remainder. When the victim opens or lists the archive with 7-Zip 9.11-26.00, the alignment loop reads 1-3 bytes past the heap buffer end. Under a hardened allocator, this triggers a crash (DoS); under standard allocators, open/fail behavior may leak 1 bit of heap content per out-of-bounds byte to the attacker if they can observe the result, though no public proof-of-concept exists to automate this oracle.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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

Heap out-of-bounds read in 7-Zip versions 9.11 through 26.00 exposes up to 3 bytes of heap memory during UDF disc image parsing, triggering when a user opens or extracts a crafted .iso or .udf file. Impact is constrained to a 1-bit information-disclosure oracle per out-of-bounds byte (inferred from open/fail behavior) and potential denial of service under hardened allocators; no write primitive exists. No public exploit code or CISA KEV listing has been identified at time of analysis, and the CVSS Low score of 3.1 accurately reflects the limited real-world severity.

RemediationAI

Upgrade to 7-Zip version 26.01, which fixes the off-by-one bounds check placement in CFileId::Parse so that the processed <= size guard runs inside the alignment-padding loop rather than after it. The advisory and further context are available at https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/. If immediate upgrade is not possible, a targeted compensating control is to block or quarantine all .iso and .udf files at the organizational perimeter or endpoint before they reach 7-Zip, preventing the auto-detected UDF handler from triggering; note this has an operational cost if UDF images are legitimately used. Disabling UDF association in 7-Zip file type settings (if exposed by the build) would also prevent automatic handler invocation, though this does not protect against explicit extraction commands. Given the Low CVSS severity and High attack complexity, organizations without hardened allocators and without a workflow involving untrusted UDF/ISO files face negligible practical risk from delaying the upgrade.

Affected VersionsENISA

7-Zip 9.11, < 26.01

Affected Packages

euvd 7_zip_9_11 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 vulnerability resides in CFileId::Parse within CPP/7zip/Archive/Udf/UdfIn.cpp, the File Identifier Descriptor parser for the UDF (Universal Disk Format) disc image handler. After validating that the field size is less than 38 + idLen + impLen and advancing the processed pointer to 38 + impLen + idLen, an alignment-padding loop increments processed up to three times to reach a 4-byte boundary, reading p[processed] on each iteration. The bounds check (processed <= size) executes only after the loop completes rather than inside it. When the sum (38 + impLen + idLen) equals size exactly and is not divisible by 4, the loop reads 1 to 3 bytes past the end of the heap buffer allocated via buf.Alloc((size_t)item.Size). CWE-125 (Out-of-bounds Read) is the root cause: a post-loop bounds check creates a window where the guard condition is evaluated too late. The UDF handler is auto-registered for .iso and .udf file extensions and also triggers via signature-based detection, meaning the vulnerable code path activates automatically during Open() when listing or extracting archives.

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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

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

DescriptionGitHub Advisory

7-Zip is a file archiver with a high compression ratio. Versions 9.11 through 26.00 contain a heap out-of-bounds read of up to 3 bytes in the UDF disc image handler's File Identifier Descriptor parser. In CFileId::Parse (CPP/7zip/Archive/Udf/UdfIn.cpp), after validating size < 38 + idLen + impLen and advancing processed to 38 + impLen + idLen, the alignment-padding loop reads p[processed] while incrementing up to 3 times to reach a 4-byte boundary, and the processed <= size bounds check only runs after the loop. When (38 + impLen + idLen) % 4 != 0 and 38 + impLen + idLen == size, the loop reads 1 to 3 bytes past the end of the exact-size heap buffer allocated via buf.Alloc((size_t)item.Size). The UDF handler is registered for .iso and .udf files and auto-detected by signature, and the OOB read triggers during Open() when listing or extracting a crafted UDF image. Impact is limited to information disclosure (a 1-bit oracle per OOB byte via open/fail behavior) and denial of service (crash under hardened allocators); there is no write primitive. Version 26.01 fixes the issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Low
Technical Impact
Partial

Priority Score

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

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