CVE-2015-7697
NoneCVSS
—
EPSS
6.1%
Published
Nov 6, 2015
CISA due date
—
Cloudanix analysis
A flaw in an older version of a common file-unzipping tool can make a computer freeze when it tries to open a specially made archive file.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw triggers an infinite loop in UnZip 6.0 when processing a ZIP archive containing empty bzip2-compressed data, resulting in denial of service through sustained CPU consumption without affecting data confidentiality or integrity.
Why it matters to the business
Systems or services that automatically extract or scan user-supplied ZIP files may become unresponsive, requiring manual intervention or restarts and potentially delaying operations that depend on archive handling.
How an attack unfolds
An attacker creates a specially crafted ZIP archive embedding empty bzip2 data, then delivers the archive through email, downloads, or shared storage; when the target system processes the file with the vulnerable UnZip implementation, the infinite loop is triggered and the process hangs.
How to fix it
Upgrade UnZip to a version that resolves the infinite-loop condition on empty bzip2 data; where upgrades are unavailable, replace the utility with an alternative archive handler or wrap invocations with resource limits and timeouts.
How to confirm the fix worked
Test the updated UnZip binary against a sample ZIP containing empty bzip2 data to confirm the process terminates cleanly rather than looping; scan affected hosts for the presence of the vulnerable 6.0 binary and verify its replacement.
Typical attack path
- Craft a ZIP archive containing empty bzip2 compressed entries
- Deliver the archive to the target via email attachment, web download, or shared folder
- Induce the victim system or automated service to invoke UnZip on the archive
- Observe the target process enter an infinite loop consuming CPU resources
How to detect it
Review process accounting and system logs for unzip invocations that exhibit unusually long runtime or high CPU usage on archive extraction tasks; correlate with file-system events showing recent receipt of ZIP files.
What your security team should do
- Prioritize patching or replacing UnZip on any system that processes untrusted archives
- Implement sandboxing or resource quotas around archive extraction processes
- Add the vulnerable version string to vulnerability scanners and asset inventories for ongoing detection
The record
Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (infinite loop) via empty bzip2 data in a ZIP archive.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | unzip | 0 | 6.0-r1 |
| Alpine:v3.11 | unzip | 0 | 6.0-r1 |
| Alpine:v3.12 | unzip | 0 | 6.0-r1 |
| Alpine:v3.13 | unzip | 0 | 6.0-r1 |
| Alpine:v3.14 | unzip | 0 | 6.0-r1 |
| Alpine:v3.15 | unzip | 0 | 6.0-r1 |
| Alpine:v3.16 | unzip | 0 | 6.0-r1 |
| Alpine:v3.17 | unzip | 0 | 6.0-r1 |
| Alpine:v3.18 | unzip | 0 | 6.0-r1 |
| Alpine:v3.19 | unzip | 0 | 6.0-r1 |
| Alpine:v3.20 | unzip | 0 | 6.0-r1 |
| Alpine:v3.21 | unzip | 0 | 6.0-r1 |
| Alpine:v3.22 | unzip | 0 | 6.0-r1 |
| Alpine:v3.5 | unzip | 0 | 6.0-r1 |
| Alpine:v3.6 | unzip | 0 | 6.0-r1 |
| Alpine:v3.7 | unzip | 0 | 6.0-r1 |
| Alpine:v3.8 | unzip | 0 | 6.0-r1 |
| Alpine:v3.9 | unzip | 0 | 6.0-r1 |
| Debian:11 | unzip | 0 | 6.0-19 |
| Debian:12 | unzip | 0 | 6.0-19 |
| Debian:13 | unzip | 0 | 6.0-19 |
| Debian:6.0 | unzip | 0 | 6.0-4+deb6u3 |
| Debian:7 | unzip | 0 | 6.0-8+deb7u4 |
| Debian:8 | unzip | 0 | 6.0-16+deb8u1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | unzip | 0 | 6.00-33.8.1 |
| SUSE:Linux Enterprise Server 11 SP4 | unzip | 0 | 6.00-11.17.1 |
| SUSE:Linux Enterprise Server 12 SP3 | unzip | 0 | 6.00-33.8.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | unzip | 0 | 6.00-11.17.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | unzip | 0 | 6.00-33.8.1 |
| Ubuntu:14.04:LTS | unzip | 0 | 6.0-9ubuntu1.4 |
| openSUSE:Tumbleweed | unzip | 0 | 6.00-31.1 |
Related vulnerabilities
- CVE-2016-9844 Buffer overflow in the zi_short function in zipinfo.c in Info-Zip UnZip 6.0 allows remote… Also affects unzip
- CVE-2014-9913 Buffer overflow in the list_files function in list.c in Info-Zip UnZip 6.0 allows remote… Also affects unzip
- CVE-2015-7696 Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (heap-based… Also affects unzip
- CVE-2014-9636 unzip 6.0 allows remote attackers to cause a denial of service (out-of-bounds read or… Also affects unzip
- CVE-2021-4217 A flaw was found in unzip. Also affects unzip
- CVE-2003-0282 Directory traversal vulnerability in UnZip 5.50 allows attackers to overwrite arbitrary… Also affects unzip
- CVE-2015-1315 Buffer overflow in the charset_to_intern function in unix/unix.c in Info-Zip UnZip 6.10b… Also affects unzip
- CVE-2026-41983 Null pointer dereference vulnerability in the browser module. Impact: Successful… CWE-399