CVE-2026-48103
Published: June 5th, 2026
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.
MEDIUM
CVSS v3: 4.3
CVSS v3: 4.3
Status
| DocFilters Release | Package | State | Justification | Comment |
|---|---|---|---|---|
| 26.3 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 26.2 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 26.1 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 25.4 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 25.3 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 25.2 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 25.1 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 24.4 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 24.4.0 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 24.3 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 24.2 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 24.1 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 23.3 | 7-zip (23.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 23.2 | 7-zip (17.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 23.1 | 7-zip (17.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
| 22.4 | 7-zip (17.01) | Not Affected | Code Not Present | The vulnerability exists in the WIM (Windows Imaging) archive handler (CHandler::GetSecurity / SecurOffsets in WimHandler.cpp), which is part of the full 7-Zip application and is not present in the LZMA SDK. Document Filters consumes LZMA SDK 23.01, whose Archive directory ships only the 7z, LZMA, XZ, and Split handlers; WimHandler.cpp does not exist in the SDK distribution and is not included in the Document Filters build source list (external/CMakeLists.txt, which compiles only the 7z, LZMA, and XZ handlers). The vulnerable GetSecurity function and the SecurOffsets table are therefore never compiled or reachable, and the .wim/.swm/.esd/.ppkg formats the handler registers for are not processed by Document Filters. |
Severity score breakdown
Attack Complexity
LOW
Attack Vector
NETWORK
Availability Impact
LOW
Base Score
4.3
Base Severity
MEDIUM
Confidentiality Impact
NONE
Integrity Impact
NONE
Privileges Required
NONE
Scope
UNCHANGED
User Interaction
REQUIRED
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Version
3.1