Vulnerability · Published Jun 5, 2026 · Assigned by GitHub_M
CVE-2026-48103GHSL-2026-119 7-Zip WIM SecurityId OOB read
Medium 4.3
In plain English
A medium-severity out-of-bounds read in 7-Zip from mcmilk. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | 7zip | 26.01-r0 | ALPINE-CVE-2026-48103 |
| Debian:12 | 7zip | 22.01+really26.01+dfsg-0+deb12u1 | DEBIAN-CVE-2026-48103 |
| Debian:13 | 7zip | no fix listed | DEBIAN-CVE-2026-48103 |
| Debian:14 | 7zip | 26.01+dfsg-1 | DEBIAN-CVE-2026-48103 |
| Debian:12 | p7zip | 16.02+really26.01+dfsg-0+deb12u1 | DEBIAN-CVE-2026-48103 |
| Debian:13 | p7zip | 16.02+transitional.1 | DEBIAN-CVE-2026-48103 |
| Ubuntu:25.10 | 7zip | no fix listed | UBUNTU-CVE-2026-48103 |
| Ubuntu:26.04:LTS | 7zip | no fix listed | UBUNTU-CVE-2026-48103 |
| Ubuntu:26.10 | 7zip | no fix listed | UBUNTU-CVE-2026-48103 |
| Ubuntu:22.04:LTS | p7zip | no fix listed | UBUNTU-CVE-2026-48103 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://securitylab.github.com/advisories/GHSL-2026-115_GHSL-2026-122_7-zip/ x_refsource_CONFIRM