CVE-2026-48103
Beschrijving NL
7-Zip is een bestandsarchiver met een hoge compressieverhouding. Versies 9.34 t/m 26.00 bevatten een off-by-one heap out-of-bounds gelezen in de security descriptor lookup van de WIM (Windows Imaging) archive handler. In CHandler:: GetSecurity (CPP/7zip/Archive/Wim/WimHandler.cpp) bevat de SecurOffsets-tabel per afbeelding numEntries + 1 cumulatieve offsets, maar de cheque securityId >= SecurOffsets.Size () geeft securityId == numEntries toe en de functie leest dan SecurOffsets [securityId + 1] en haalt er een UInt32 voorbij het einde van de heap-allocated CRecordVector (die geen controle op operator[] uitvoert). De securityId wordt door de aanvaller gecontroleerd op offset +0xC van elke directoryvermelding in Wim-metadata, en de handler is geregistreerd voor .wim, .swm, .esd en .ppkg en standaard ingeschakeld in voorraad 7z.dll; de OOB activeert nulklikken in de GUI omdat 7zFM.exe's ListView GetRawProp (kpidNtSecure) voor elk item aanroept tijdens de aanbieding (ASan-confirmed), en is ook bereikbaar via CLI-lijst met 7zz l -slt. Impact is beperkt tot denial of service onder geharde toewijzers en kleine openbaarmaking van informatie, omdat de OOB-waarde alleen rekenkundig als lengte wordt geconsumeerd en niet aan de aanvaller wordt getoond; er is geen primitief schrijven.
Origineel (Engels) tonen
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.