CVE-2026-48103

GHSL-2026-119 7-Zip WIM SecurityId OOB read

Published Jun 5, 2026 CVSS 3.1 · 4.3 Medium EPSS 2.2% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an off‑by‑one heap out‑of‑bounds read inside the WIM (Windows Imaging) archive handler used by 7‑Zip. The attacker can supply a crafted WIM file that contains a manipulated securityId field in the metadata. When the handler processes the file it reads one UInt32 past the end of the heap‑allocated vector. Because the value is only used as a length, the bug does not allow arbitrary code execution but can trigger a crash or a small amount of leaked data, which in hardened environments typically results in a denial of service.

Affected Systems

Affected versions are 7‑Zip 9.34 through 26.00, which are delivered on Windows as a DLL and usable from the GUI (7zFM.exe) and the command‑line tools. The vulnerability exists for the file extensions .wim, .swm, .esd and .ppkg. The bug is registered in the default 7z.dll handler, so any installation of these versions that processes such file types is susceptible. The CVSS score for the weakness is 4.3 and the EPSS score is 2%, indicating a low but measurable likelihood of exploitation, and the issue is not listed in the CISA KEV catalogue.

Risk and Exploitability

The risk comes from any local user who opens a maliciously crafted WIM family file with the vulnerable version. The bug can be triggered with a zero‑click GUI list view or by invoking the command‑line listing option. The EPSS score of 2% indicates a low but measurable likelihood of exploitation, and with a CVSS score of 4.3 the impact is moderate. No write primitive is available, so the attack surface is limited to denial of service or minor data disclosure. Because the issue is not on KEV, vendors and users may not perceive an immediate urgency, but the potential for widespread interruption warrants corrective action.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Download and install the latest released 7‑Zip version (27.00 or later), which contains a fixed WIM handler.
  • If an upgrade is not possible, avoid opening or listing any .wim, .swm, .esd or .ppkg files with 7‑Zip until a patch is applied, and consider restricting 7zFM.exe usage to trusted environments.
  • Use an alternative archiver that does not include the vulnerable WIM handler to process Windows Imaging files until the official fix is available.

Generated by OpenCVE AI on October 25, 2026 at 19:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4681-1 p7zip security update
History
Type Values Removed Values Added
First Time appeared 7-zip
7-zip 7-zip
CPEs cpe:2.3:a:7-zip:7-zip:*:*:*:*:*:*:*:*
Vendors & Products 7-zip
7-zip 7-zip
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mcmilk
Mcmilk 7-zip
Vendors & Products Mcmilk
Mcmilk 7-zip
Type Values Removed Values Added
Description 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.
Title GHSL-2026-119 7-Zip WIM SecurityId OOB read
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 8, 2026, 4:07 PM
Reserved
May 20, 2026, 6:40 PM
Status
Analyzed
Published
Jun 5, 2026, 5:16 PM
Modified
Jun 17, 2026, 10:54 AM