Description
7-Zip ZIP File Parsing Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. Interaction with this product is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
The specific flaw exists within the handling of symbolic links in ZIP files. Crafted data in a ZIP file can cause the process to traverse to unintended directories. An attacker can leverage this vulnerability to execute code in the context of a service account. Was ZDI-CAN-26743.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 7-Zip | 7-Zip | 24.09 (x64) | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | 7zip | 25.00+dfsg-1 | — |
| Debian 13 | 7zip | 25.01+dfsg-1~deb13u1 | — |
| Debian 13 | p7zip | 16.02+transitional.1 | — |
| Debian 12 | 7zip | 22.01+really25.01+dfsg-0+deb12u1 | — |
| Debian 12 | p7zip | 16.02+really25.01+dfsg-0+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | p7zip | No fix yet | — |
| Ubuntu 20.04 LTS | p7zip | No fix yet | — |
| Ubuntu 18.04 LTS | p7zip | No fix yet | — |
| Ubuntu 16.04 LTS | p7zip | No fix yet | — |
| Ubuntu 14.04 LTS | p7zip | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | 7zip | No fix yet | — |
| Ubuntu Pro 22.04 LTS | 7zip | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | 7zip +3 | 25.01-8.amzn2023.0.1 | ALAS2023-2025-1251 |
| Amazon Linux 2023 | p7zip +2 | 16.02-30.amzn2023.0.2 | ALAS2023-2025-1250 |
Advisories 4
- 7PAA023732 System 800xA affected by 3rd party component vulnerabilities ABB PSIRT · May 22, 2026
- WID-SEC-2025-2261 7-Zip: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · May 11, 2026
- ALAS2023-2025-1250 Important: p7zip security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 27, 2025
- ALAS2023-2025-1251 Important: 7zip security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 27, 2025