CVE-2024-39134
High · 7.5CVSS
7.5
EPSS
0.6%
Published
Jun 27, 2024
CISA due date
—
Cloudanix analysis
A bug in a common zip-file library lets attackers crash programs that read zip archives, causing service outages until the software is fixed.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
Stack buffer overflow in __zzip_fetch_disk_trailer() at /zzip/zip.c allows crafted input to corrupt stack memory and crash the process.
Why it matters to the business
Applications that parse ZIP archives with this library can be forced offline, interrupting any service or workflow that depends on ZIP handling.
How an attack unfolds
An attacker supplies a malicious ZIP archive that reaches the vulnerable trailer-parsing routine; the overflow occurs during disk-trailer processing and terminates the application.
How to fix it
Upgrade zziplib to a version containing the fix for the stack buffer overflow; rebuild and redeploy any dependent software.
How to confirm the fix worked
Confirm the installed zziplib version is newer than 0.13.77, then exercise the library with both benign and malformed ZIP inputs to verify no crash occurs.
Typical attack path
- Locate a reachable service or tool that uses zziplib to open ZIP files
- Craft a ZIP archive that triggers the buffer overflow in __zzip_fetch_disk_trailer
- Deliver the archive to the target for parsing
- Cause the application to crash, resulting in denial of service
How to detect it
Review application and system logs for segmentation faults or abrupt terminations immediately after ZIP file processing; correlate with file-upload or archive-extraction events.
What your security team should do
- Identify all products and containers that link against zziplib and schedule updates
- Add zziplib to the vulnerability scanning inventory with a high-severity rule
- Consider sandboxing or replacing ZIP parsing code until the library is patched
The record
A Stack Buffer Overflow vulnerability in zziplibv 0.13.77 allows attackers to cause a denial of service via the __zzip_fetch_disk_trailer() function at /zzip/zip.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | zziplib | 0 | No fix |
| Debian:12 | zziplib | 0 | No fix |
| Debian:13 | zziplib | 0 | No fix |
| Mageia:9 | zziplib | 0 | 0.13.72-2.2.mga9 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | zziplib | 0 | 0.13.69-150000.3.20.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | zziplib | 0 | 0.13.72-150600.4.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | zziplib | 0 | 0.13.67-10.39.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | zziplib | 0 | 0.13.67-10.39.1 |
| Ubuntu:20.04:LTS | zziplib | 0 | No fix |
| Ubuntu:22.04:LTS | zziplib | 0 | No fix |
| Ubuntu:24.04:LTS | zziplib | 0 | No fix |
| Ubuntu:24.10 | zziplib | 0 | No fix |
| Ubuntu:25.04 | zziplib | 0 | No fix |
| Ubuntu:25.10 | zziplib | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | zziplib | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | zziplib | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | zziplib | 0 | No fix |
| openSUSE:Leap 15.5 | zziplib | 0 | 0.13.69-150000.3.20.1 |
| openSUSE:Leap 15.6 | zziplib | 0 | 0.13.72-150600.4.3.1 |
| openSUSE:Tumbleweed | zziplib | 0 | 0.13.78-1.1 |
Related vulnerabilities
- CVE-2024-39133 Heap Buffer Overflow vulnerability in zziplib v0.13.77 allows attackers to cause a denial… Also affects zziplib
- CVE-2017-5974 Heap-based buffer overflow in the __zzip_get32 function in fetch.c in zziplib 0.13.62… Also affects zziplib
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-120
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-120
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-120
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-120
- CVE-2026-42808 An issue was discovered in Bosch Sensortec COINES_SDK versions 2.0 through 2.11. The host… CWE-120
- CVE-2026-87931 A vulnerability has been found in Behavioral Technology Group Pavlok Behavioral… CWE-120