Description
Buffer overflow in UnZip 5.50 and earlier allows user-assisted attackers to execute arbitrary code via a long filename command line argument. NOTE: since the overflow occurs in a non-setuid program, there are not many scenarios under which it poses a vulnerability, unless unzip is passed long arguments when it is invoked from other programs.
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 | 5.52-7 | — |
| Debian 13 | unzip | 5.52-7 | — |
| Debian 12 | unzip | 5.52-7 | — |
| Debian 3.1 | unzip | 5.52-1sarge4 | DSA-1012-1 |
| Debian 3.0 | unzip | 5.50-1woody6 | DSA-1012-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | unzip | 5.51-9.EL4.5 | RHSA-2007:0203 |
| RHEL 3 | unzip | 5.50-35.EL3 | RHBA-2007:0418 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Info-ZIP UnZip 5.x - File Name Buffer Overflow EDB-26913 · remote · Dec 19, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- RHSA-2007:0203 Red Hat Security Advisory: unzip security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHBA-2007:0418 Red Hat Bug Fix Advisory: unzip bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1012-1 unzip - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- 25098 third-party-advisory
- USN-248-2 vendor-advisory
- http://www.info-zip.org/FAQ.html
- FLSA:180159 vendor-advisory
- MDKSA-2006:050 vendor-advisory
- 2006-0006 vendor-advisory
- oval:org.mitre.oval:def:11252 vdb-entry signature
- RHSA-2007:0203 vendor-advisory
- USN-248-1 vendor-advisory
- 20051219 Unzip *ALL* verisons ;)) mailing-list
- 22400 vdb-entry
- 15968 vdb-entry
- DSA-1012 vendor-advisory