Description
Buffer overflow in Info-Zip 2.3 and possibly earlier versions, when using recursive folder compression, allows remote attackers to execute arbitrary code via a ZIP file containing a long pathname.
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 | zip | 2.30-8 | — |
| Debian 13 | zip | 2.30-8 | — |
| Debian 12 | zip | 2.30-8 | — |
| Debian 3.0 | zip | 2.30-5woody2 | DSA-624-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | zip | 2.3-16.1 | RHSA-2004:634 |
Advisories 2
- RHSA-2004:634 Red Hat Security Advisory: zip security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-624-1 zip - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- 11603 vdb-entry
- P-072 third-party-advisory government-resource
- oval:org.mitre.oval:def:9848 vdb-entry signature
- infozip-compressed-folder-bo(17956) vdb-entry
- http://www.info-zip.org/FAQ.html
- http://www.hexview.com/docs/20041103-1.txt
- FLSA:2255 vendor-advisory
- TLSA-2005-18 vendor-advisory
- DSA-624 vendor-advisory
- GLSA-200411-16 vendor-advisory
- RHSA-2004:634 vendor-advisory
- 13094 third-party-advisory
- MDKSA-2004:141 vendor-advisory
- USN-18-1 vendor-advisory
- 20041103 [HV-MED] Zip/Linux long path buffer overflow mailing-list
- 20041103 [HV-MED] Zip/Linux long path buffer overflow mailing-list