JLSEC-2026-2033: Buffer Overflow
7-Zip XZ Decompression Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the processing of XZ chunked data. Crafted XZ-compressed data can trigger an overflow of a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-30169.
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.8.2+0
Event History
Frequently Asked Questions
What must an attacker do to exploit this issue?
The attacker must cause a target to open a malicious file or visit a malicious page containing crafted XZ-compressed data. Exploitation relies on processing XZ chunked data and requires user interaction.
What level of access does successful exploitation provide?
Successful exploitation can execute arbitrary code in the context of the current process. The vulnerability can affect confidentiality, integrity, and availability.
Is exploitation possible remotely without any user action?
No. Although malicious content can be delivered remotely, the target must visit a malicious page or open a malicious file for exploitation to occur.