JLSEC-2026-2044: Medium severity julia/p7zip_jll vulnerability
7-Zip is a file archiver with a high compression ratio. Versions 9.18 through 26.00 contain a heap out-of-bounds read in 7-Zip Ar handler BSD SYMDEF parser. A 4-byte heap out-of-bounds read exists in the Unix ar archive parser in 7-Zip. When parsing a BSD-style .SYMDEF symbol table, the ParseLibSymbols function reads a 32-bit namesSize field via Get32 at a position that can equal the buffer size, reading 4 bytes past the end of the heap allocation. This reads uninitialized heap data under the default allocator. Version 26.01 patches the issue.
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/p7zip_jllto a version that resolves this vulnerability.Fixed in 17.7.0+0 - Upgrade
Upgrade
7-Zipto a version that resolves this vulnerability.Fixed in 26.01
Event History
Frequently Asked Questions
Which deployments of julia/p7zip_jll are affected?
The affected BSD SYMDEF parser is shipped only in the Windows artifacts. The issue affects 7-Zip versions 9.18 through 26.00; version 26.01 contains the fix.
What does an attacker need to exploit this issue?
An attacker needs to cause the affected 7-Zip parser to process a crafted Unix ar archive containing a BSD-style __.SYMDEF symbol table. The attack vector is network-based, requires no privileges, but does require user interaction.
Are installations using the standalone 7za executable affected in the same way?
Starting with package version 17.7.0+0, the package ships the standalone 7za executable rather than the full archive handler library. The provided data does not state that this executable includes the affected handler.
What is the impact of successful exploitation?
The parser can read four bytes past a heap allocation, exposing uninitialized heap data. The listed impact is high confidentiality impact, with no integrity or availability impact.