CVE-2017-5974
Medium · 5.5CVSS
5.5
EPSS
1.8%
Published
Mar 1, 2017
CISA due date
—
Cloudanix analysis
A flaw in a common tool for reading ZIP files lets attackers crash programs by sending a specially made file, interrupting services until fixed.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in the __zzip_get32 function allows a malformed ZIP archive to trigger memory corruption leading to process crash.
Why it matters to the business
Attackers can crash applications that process untrusted ZIP files, causing service disruption and potential loss of availability for systems relying on the vulnerable library; the issue has publicly available exploit code despite its age.
How an attack unfolds
An attacker crafts a malicious ZIP file that triggers the overflow in __zzip_get32 when parsed; the file is delivered to the target application (for example via download or attachment), causing immediate denial of service upon processing.
How to fix it
Upgrade affected packages to the fixed versions provided by vendors; for newrelic-infrastructure-agent-1.43 (Chainguard) update to 1.43.2-r10 or later. Rebuild and redeploy any applications that statically link the vulnerable zziplib library.
How to confirm the fix worked
Confirm the installed zziplib or dependent package version meets or exceeds the fixed release; re-test parsing of the previously crashing ZIP sample in an isolated environment to verify absence of crash.
Typical attack path
- Create specially malformed ZIP archive targeting __zzip_get32
- Deliver archive to victim application or system that uses zziplib
- Trigger parsing of the archive through normal file handling
- Observe resulting crash and service interruption
How to detect it
Review application and system logs for unexpected crashes or segmentation faults when processing ZIP files; look for process terminations correlated with file ingestion timestamps.
What your security team should do
- Immediately update all instances of the vulnerable library or dependent products to the stated fixed versions
- Scan build pipelines and container images for the affected zziplib versions
- Prioritize patching in environments that process untrusted ZIP content
The record
Heap-based buffer overflow in the __zzip_get32 function in fetch.c in zziplib 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57, 0.13.56 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | zziplib | 0 | 0.13.62-3.1 |
| Debian:12 | zziplib | 0 | 0.13.62-3.1 |
| Debian:13 | zziplib | 0 | 0.13.62-3.1 |
| Debian:14 | zziplib | 0 | 0.13.62-3.1 |
| Debian:7 | zziplib | 0 | 0.13.56-1.1+deb7u1 |
| Debian:8 | zziplib | 0 | 0.13.62-3+deb8u1 |
| Mageia:5 | zziplib | 0 | 0.13.62-5.1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | zziplib | 0 | 0.13.62-9.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | zziplib | 0 | 0.13.62-9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | zziplib | 0 | 0.13.62-9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | zziplib | 0 | 0.13.62-9.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | zziplib | 0 | 0.13.62-9.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP2 | zziplib | 0 | 0.13.62-9.1 |
| Ubuntu:14.04:LTS | zziplib | 0 | 0.13.62-2ubuntu0.1 |
| Ubuntu:16.04:LTS | zziplib | 0 | 0.13.62-3ubuntu0.16.04.1 |
| openSUSE:Tumbleweed | zziplib | 0 | 0.13.72-1.4 |
Related vulnerabilities
- CVE-2024-39134 A Stack Buffer Overflow vulnerability in zziplibv 0.13.77 allows attackers to cause a… Also affects zziplib
- CVE-2024-39133 Heap Buffer Overflow vulnerability in zziplib v0.13.77 allows attackers to cause a denial… Also affects zziplib
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119