JLSEC-2026-2039: Medium severity julia/p7zip_jll vulnerability
7-Zip is a file archiver with a high compression ratio. Versions 9.21 through 26.00 contain an An uninitialized memory disclosure vulnerability in the UEFI capsule (.scap) parser in 7-Zip. The OpenCapsule function allocates a heap buffer of attacker-declared CapsuleImageSize (up to 1 GiB) without zero-initialization, then reads the file contents into it with ReadStreamFALSE whose return value is silently discarded. If the file is truncated, the unread tail of the buffer retains uninitialized heap memory, which is then exposed as extracted file content via GetStream. Version 26.0.1 fixes 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 to a fixed release to a version that resolves this vulnerability.
Fixed in 26.0.1
Event History
Frequently Asked Questions
Which deployments are affected?
Only Windows artifacts ship the affected UEFI capsule handler. The issue applies when an affected 7-Zip version processes a UEFI capsule (.scap) file.
What must an attacker do to disclose memory?
An attacker needs to provide a truncated .scap file that is opened or extracted by the affected parser. No privileges are required, but user interaction is required to process the malicious file.
What is the remediation?
Upgrade to 7-Zip version 26.0.1, which fixes the issue. If upgrading is not immediately possible, do not process untrusted .scap files with affected Windows artifacts.
Does the package's standalone 7za change what is shipped?
Starting with 17.7.0+0, the package ships the standalone 7za executable rather than the full archive handler library. The advisory identifies Windows artifacts as the ones that ship the affected handler.