CVE-2016-9844
Medium · 4.0CVSS
4.0
EPSS
1.8%
Published
Jan 18, 2017
CISA due date
—
Cloudanix analysis
A problem in the way certain programs read zip files can make them crash when they encounter a specially prepared file, potentially interrupting any work that relies on those programs.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the zi_short function in zipinfo.c allows a large compression method value in a ZIP central directory header to trigger memory corruption and a denial-of-service crash.
Why it matters to the business
Applications that extract or inspect untrusted ZIP archives can be forced offline, disrupting workflows that depend on the affected unzip implementation; the issue appears in 98 downstream packages including certain TensorFlow Bitnami distributions.
How an attack unfolds
An attacker crafts a ZIP file whose central directory header contains an oversized compression method field. When the vulnerable UnZip code processes this archive locally, the zi_short function overflows a buffer, resulting in a crash. No named threat actors or ransomware campaigns have been observed exploiting this flaw.
How to fix it
Upgrade affected UnZip installations to a patched release; for TensorFlow (Bitnami) deployments, update to version 2.3.3 or later. Where immediate patching is not feasible, restrict unzip operations to trusted archives and run the utility under the least-privileged account.
How to confirm the fix worked
Confirm the installed UnZip version is 2.3.3 or newer for TensorFlow (Bitnami) packages; re-test with a ZIP containing a compression-method value exceeding 65535 to verify the crash no longer occurs.
Typical attack path
- Attacker prepares a malicious ZIP archive with an abnormally large compression method value in the central directory.
- Victim or automated process invokes the vulnerable UnZip binary on the crafted archive.
- zi_short processes the header, overflows the buffer, and crashes the process.
- Service or pipeline using the unzip operation becomes unavailable.
How to detect it
Review system and application logs for abrupt unzip process terminations while handling ZIP archives; correlate crash reports or core dumps with file-access timestamps on untrusted archives.
What your security team should do
- Apply the listed fixed versions immediately in all environments that ship the vulnerable UnZip code.
- Add unzip version checks to software bill-of-materials and dependency scanning pipelines.
- Limit unzip usage to trusted sources and consider sandboxing extraction jobs until upgrades are complete.
The record
Buffer overflow in the zi_short function in zipinfo.c in Info-Zip UnZip 6.0 allows remote attackers to cause a denial of service (crash) via a large compression method value in the central directory file header.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | unzip | 0 | 6.0-r3 |
| Alpine:v3.11 | unzip | 0 | 6.0-r3 |
| Alpine:v3.12 | unzip | 0 | 6.0-r3 |
| Alpine:v3.13 | unzip | 0 | 6.0-r3 |
| Alpine:v3.14 | unzip | 0 | 6.0-r3 |
| Alpine:v3.15 | unzip | 0 | 6.0-r3 |
| Alpine:v3.16 | unzip | 0 | 6.0-r3 |
| Alpine:v3.17 | unzip | 0 | 6.0-r3 |
| Alpine:v3.18 | unzip | 0 | 6.0-r3 |
| Alpine:v3.19 | unzip | 0 | 6.0-r3 |
| Alpine:v3.20 | unzip | 0 | 6.0-r3 |
| Alpine:v3.21 | unzip | 0 | 6.0-r3 |
| Alpine:v3.22 | unzip | 0 | 6.0-r3 |
| Alpine:v3.5 | unzip | 0 | 6.0-r3 |
| Alpine:v3.6 | unzip | 0 | 6.0-r3 |
| Alpine:v3.7 | unzip | 0 | 6.0-r3 |
| Alpine:v3.8 | unzip | 0 | 6.0-r3 |
| Alpine:v3.9 | unzip | 0 | 6.0-r3 |
| Debian:11 | unzip | 0 | 6.0-21 |
| Debian:12 | unzip | 0 | 6.0-21 |
| Debian:13 | unzip | 0 | 6.0-21 |
| Debian:7 | unzip | 0 | 6.0-8+deb7u6 |
| Mageia:5 | unzip | 0 | 6.0-13.3.mga5 |
| 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:16.04:LTS | unzip | 0 | 6.0-20ubuntu1.1 |
| Ubuntu:18.04:LTS | unzip | 0 | 6.0-21ubuntu1 |
| Ubuntu:18.04:LTS | unzip | 0 | 6.0-21ubuntu1.1 |
| Ubuntu:Pro:14.04:LTS | unzip | 0 | 6.0-9ubuntu1.6 |
| openSUSE:Tumbleweed | unzip | 0 | 6.00-39.1 |
Related vulnerabilities
- 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-7697 Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (infinite loop)… 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-2026-121517 A vulnerability was detected in IrfanView 4.76.0.0 on Win64. CWE-119
- CVE-2026-121229 Memory corruption in ANGLE in Google Chrome on on Android prior to 157.0.8103.38 allowed… CWE-119