Description
A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | unzip | 6.0 | — |
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 | unzip | 6.0-27 | — |
| Debian 13 | unzip | 6.0-27 | — |
| Debian 12 | unzip | 6.0-27 | — |
| Debian 11 | unzip | 6.0-26+deb11u1 | DSA-5202-1 |
| Debian 10 | unzip | 6.0-23+deb10u3 | DLA-3118-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | unzip | 6.0-26ubuntu3.1 | USN-5673-1 |
| Ubuntu 20.04 LTS | unzip | 6.0-25ubuntu1.1 | USN-5673-1 |
| Ubuntu 18.04 LTS | unzip | 6.0-21ubuntu1.2 | USN-5673-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | unzip | 6.0-20ubuntu1.1+esm1 | USN-5673-1 |
| Ubuntu Pro 14.04 LTS | unzip | 6.0-9ubuntu1.6+esm1 | USN-5673-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | unzip | 6.00-150000.4.11.1 | SUSE-SU-2022:3399-1 |
| SLES 15 SP3 | unzip | 6.00-150000.4.11.1 | SUSE-SU-2022:3399-1 |
| SLES 12 SP5 | unzip | 6.00-33.16.1 | SUSE-SU-2022:3386-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | unzip | 6.00-33.16.1 | SUSE-SU-2022:3386-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | unzip | 6.00-40.1 | openSUSE-SU-2024:12357-1 |
| openSUSE Leap 15.4 | unzip | 6.00-150000.4.11.1 | SUSE-SU-2022:3399-1 |
| openSUSE Leap 15.3 | unzip | 6.00-150000.4.11.1 | SUSE-SU-2022:3399-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | unzip | 6.0-r11 | — |
| Alpine v3.23 | unzip | 6.0-r11 | — |
| Alpine v3.22 | unzip | 6.0-r11 | — |
| Alpine v3.21 | unzip | 6.0-r11 | — |
| Alpine v3.20 | unzip | 6.0-r11 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | unzip | 6.0-r11 | — |
| Alpine v3.18 | unzip | 6.0-r11 | — |
| Alpine v3.17 | unzip | 6.0-r11 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | unzip | 6.0-57.amzn2023.0.2 | ALAS2023-2023-029 |
| Amazon Linux 2 | unzip | 6.0-57.amzn2.0.1 | ALAS2-2023-1906 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | unzip | 6.0-21 | — |
| Azure Linux 2 (CBL-Mariner) | unzip | 6.0-21 | — |
Advisories 11
- USN-5673-1 unzip vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5202-1 unzip - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3118-1 unzip - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:3386-1 Security update for unzip SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12357-1 unzip-6.00-40.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3399-1 Security update for unzip SUSE / openSUSE Security Updates · Feb 4, 2026
- VDE-2025-053 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · Jul 8, 2025
- WID-SEC-2022-0943 UnZip: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Oct 3, 2024
- WID-SEC-2022-1057 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 21, 2023
- ALAS2023-2023-029 Low: unzip security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ALAS2-2023-1906 Low: unzip security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 20, 2023
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2051395
- https://github.com/ByteHackr/unzip_poc
- https://support.apple.com/kb/HT213257
- https://support.apple.com/kb/HT213256
- https://support.apple.com/kb/HT213255
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina mailing-list
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 mailing-list
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 mailing-list
- DSA-5202 vendor-advisory
- [debian-lts-announce] 20220922 [SECURITY] [DLA 3118-1] unzip security update mailing-list
- https://security.gentoo.org/glsa/202310-17