CVE-2024-39133
Medium · 4.3CVSS
4.3
EPSS
0.5%
Published
Jun 27, 2024
CISA due date
—
Cloudanix analysis
A flaw in code that reads certain archive files can make programs using it crash when given bad input, potentially interrupting services until fixed.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in the __zzip_parse_root_directory function allows malformed ZIP input to trigger memory corruption and application crashes.
Why it matters to the business
Service availability can be disrupted when applications processing untrusted archives are forced to crash, with limited risk of data exposure or integrity loss.
How an attack unfolds
An attacker supplies a specially crafted ZIP archive that reaches the root directory parser; the overflow occurs during parsing and results in a denial-of-service condition.
How to fix it
Upgrade affected putty packages on Alpine v3.16 and v3.17 to version 0.81-r0 or later; rebuild or update any downstream packages that embed the vulnerable zziplib library.
How to confirm the fix worked
Verify installed package versions match or exceed the stated fixed releases, then test archive parsing with known-malformed inputs to confirm absence of crashes.
Typical attack path
- Obtain or generate a malicious ZIP archive targeting the vulnerable parser
- Deliver the archive to the target application via network, file share, or local input
- Trigger parsing of the archive root directory through normal application processing
- Cause heap corruption that leads to process termination
How to detect it
Review application and system logs for unexpected process terminations or segmentation faults during ZIP archive handling; correlate with file access timestamps of untrusted archives.
What your security team should do
- Apply the listed package upgrades immediately on all Alpine-based systems running the affected putty versions
- Scan build pipelines and container images for older zziplib or putty dependencies
- Prioritize patching in environments that process untrusted archives
- Monitor upstream zziplib releases for additional fixes beyond the putty packaging update
The record
Heap Buffer Overflow vulnerability in zziplib v0.13.77 allows attackers to cause a denial of service via the __zzip_parse_root_directory() 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 |
| Debian:14 | zziplib | 0 | 0.13.78+dfsg.1-0.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:Tumbleweed | zziplib | 0 | 0.13.78-1.1 |
Related vulnerabilities
- CVE-2024-39134 A Stack Buffer Overflow vulnerability in zziplibv 0.13.77 allows attackers to cause a… 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-112403 Pillow is a Python imaging library. CWE-122
- CVE-2026-112393 Pillow is a Python imaging library. CWE-122
- CVE-2026-112395 Pillow is a Python imaging library. CWE-122
- CVE-2026-103658 GNU Aspell 0.60.8.2 (first vulnerable version is not known) contains a heap-based buffer… CWE-122
- CVE-2026-107161 A heap-based buffer overflow flaw was found in Cyrus SASL. CWE-122
- CVE-2026-106574 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-122