JLSEC-2026-2041: High severity julia/p7zip_jll vulnerability

Published Dec 2, 2026
·
Updated

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.

Only the Windows artifacts ship the affected handler. Starting with 17.7.0+0, the package ships the standalone 7za executable instead of the full archive handler library.

Affected Software

1 affected componentFixes available
julia/p7zip_jll<17.7.0+0
17.7.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/p7zip_jll to a version that resolves this vulnerability.

    Fixed in 17.7.0+0

Event History

Dec 2, 2026
Advisory Published
via OSV·07:47 PM
Data Sourced
via OSV·07:47 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which files and workflows can trigger the issue?

The affected handler is registered for .wim, .swm, .esd, and .ppkg files and is enabled by default in stock 7z.dll. Listing a crafted archive can trigger it in the GUI, where 7zFM.exe queries security properties for every item, and it is also reachable through CLI detailed listing with "7zz l -slt".

2

What does an attacker need to control?

An attacker needs to supply a crafted archive with WIM metadata containing a directory entry whose securityId field is set to the out-of-range value. No authentication or prior privileges are required, but a user must open or list the malicious file.

3

What is the likely impact if the flaw is triggered?

The out-of-bounds value is used only in arithmetic as a length and is not returned directly to the attacker. The described impact is denial of service under hardened allocators and potentially minor information disclosure.

4

How can I assess whether an installation is exposed?

Installations in the stated affected version range, 9.34 through 26.00, are exposed when the WIM handler is present and enabled. Processing or listing any of the registered WIM-related extensions is the relevant exposure path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203