CVE-2017-5974
Heap-based buffer overflow in the __zzip_get32 function in fetch.c in zziplib 0.13.62, 0.13.61, 0...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2017-5974- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-5974- Updated
- 2026-11-02
EUVDEUVD-2017-15043 No score
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.
- Record
EUVD-2017-15043- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2g55-7wqw-h2c5
5.5
Heap-based buffer overflow in the __zzip_get32 function in fetch.c in zziplib 0.13.62, 0.13.61, 0...
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.
- Record
GHSA-2g55-7wqw-h2c5- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVAZL-43603
5.5
CVE-2017-5974 affecting package zziplib 0.13.72-3
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.
- Record
AZL-43603- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-45219
5.5
CVE-2017-5974 affecting package zziplib for versions less than 0.13.74-1
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.
- Record
AZL-45219- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSV
5.5
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.
- Record
CVE-2017-5974- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-5974
5.5
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.
- Record
DEBIAN-CVE-2017-5974- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-5974
5.5
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.
- Record
UBUNTU-CVE-2017-5974- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0163 No score
Updated zziplib packages fix security vulnerability
Heap-based buffer overflow in __zzip_get32 in fetch.c (CVE-2017-5974).
Heap-based buffer overflow in __zzip_get64 in fetch.c (CVE-2017-5975).
Heap-based buffer overflow in zzip_mem_entry_extra_block in memdisk.c (CVE-2017-5976).
Invalid memory read in zzip_mem_entry_extra_block in memdisk.c (CVE-2017-5977).
Out of bounds read in zzip_mem_entry_new in memdisk.c (CVE-2017-5978).
NULL pointer dereference in prescan_entry in fseeko.c (CVE-2017-5979).
NULL pointer dereference in zzip_mem_entry_new in memdisk.c (CVE-2017-5980).
Assertion failure in seeko.c (CVE-2017-5981).
NULL pointer dereference in main in unzzipcat-mem.c (bsc#1024532).
NULL pointer dereference in main in unzzipcat.c (bsc#1024537).
- Record
MGASA-2017-0163- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11546-1 No score
libzzip-0-13-0.13.72-1.4 on GA media
These are all security issues fixed in the libzzip-0-13-0.13.72-1.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11546-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1095-1 No score
Security update for zziplib
This update for zziplib fixes the following issues:
Secuirty issues fixed:
- CVE-2017-5974: heap-based buffer overflow in __zzip_get32 (fetch.c) (bsc#1024517)
- CVE-2017-5975: heap-based buffer overflow in __zzip_get64 (fetch.c) (bsc#1024528)
- CVE-2017-5976: heap-based buffer overflow in zzip_mem_entry_extra_block (memdisk.c) (bsc#1024531)
- CVE-2017-5977: invalid memory read in zzip_mem_entry_extra_block (memdisk.c) (bsc#1024534)
- CVE-2017-5978: out of bounds read in zzip_mem_entry_new (memdisk.c) (bsc#1024533)
- CVE-2017-5979: NULL pointer dereference in prescan_entry (fseeko.c) (bsc#1024535)
- CVE-2017-5980: NULL pointer dereference in zzip_mem_entry_new (memdisk.c) (bsc#1024536)
- CVE-2017-5981: assertion failure in seeko.c (bsc#1024539)
- NULL pointer dereference in main (unzzipcat-mem.c) (bsc#1024532)
- NULL pointer dereference in main (unzzipcat.c) (bsc#1024537)
- Record
SUSE-SU-2017:1095-1- Updated
- 2026-11-02
OSVUSN-3320-1 No score
zziplib vulnerabilities
Agostino Sarubbo discovered that zziplib incorrectly handled certain malformed ZIP files. If a user or automated system were tricked into opening a specially crafted ZIP file, a remote attacker could cause zziplib to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-3320-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
zziplibAzure Linux:2 |
through 0.13.72-3 | None known |
zziplibAzure Linux:3 |
before 0.13.74-1 | 0.13.74-1 |
zziplibDebian:12 |
before 0.13.62-3.1 | 0.13.62-3.1 |
zziplibDebian:13 |
before 0.13.62-3.1 | 0.13.62-3.1 |
zziplibDebian:14 |
before 0.13.62-3.1 | 0.13.62-3.1 |
zziplibDebian:7 From an advisory covering 7 CVEs |
before 0.13.56-1.1+deb7u1, plus listed versions 0.13.56-1.1 |
0.13.56-1.1+deb7u1 |
zziplibDebian:8 From an advisory covering 8 CVEs |
before 0.13.62-3+deb8u1, plus listed versions 0.13.62-3 |
0.13.62-3+deb8u1 |
zziplibMageia:5 From an advisory covering 8 CVEs |
before 0.13.62-5.1.mga5 | 0.13.62-5.1.mga5 |
zziplibSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 8 CVEs |
before 0.13.62-9.1 | 0.13.62-9.1 |
zziplibSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 8 CVEs |
before 0.13.62-9.1 | 0.13.62-9.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
zziplibSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 8 CVEs |
before 0.13.62-9.1 | 0.13.62-9.1 |
zziplibSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 8 CVEs |
before 0.13.62-9.1 | 0.13.62-9.1 |
zziplibSUSE:Linux Enterprise Workstation Extension 12 SP1 From an advisory covering 8 CVEs |
before 0.13.62-9.1 | 0.13.62-9.1 |
zziplibSUSE:Linux Enterprise Workstation Extension 12 SP2 From an advisory covering 8 CVEs |
before 0.13.62-9.1 | 0.13.62-9.1 |
zziplibUbuntu:14.04:LTS |
before 0.13.62-2ubuntu0.1, plus listed versions 0.13.56-1.1ubuntu10.13.56-1.1ubuntu20.13.56-2ubuntu10.13.62-2 |
0.13.62-2ubuntu0.1 |
zziplibUbuntu:16.04:LTS |
before 0.13.62-3ubuntu0.16.04.1, plus listed versions 0.13.62-3 |
0.13.62-3ubuntu0.16.04.1 |
zziplibUbuntu:14.04:LTS From an advisory covering 7 CVEs |
before 0.13.62-2ubuntu0.1, plus listed versions 0.13.56-1.1ubuntu10.13.56-1.1ubuntu20.13.56-2ubuntu10.13.62-2 |
0.13.62-2ubuntu0.1 |
zziplibUbuntu:16.04:LTS From an advisory covering 7 CVEs |
before 0.13.62-3ubuntu0.16.04.1, plus listed versions 0.13.62-3 |
0.13.62-3ubuntu0.16.04.1 |
zziplibopenSUSE:Tumbleweed From an advisory covering 14 CVEs |
before 0.13.72-1.4 | 0.13.72-1.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-5974 is a medium vulnerability (CVSS 5.5) in Gdraheim Zziplib, published March 1, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.85%, the 79th percentile. Fixed in zziplib 0.13.74-1.
References
blogs.gentoo.org/ago/2017/02/09/zziplib-heap-based-buffer-overflow-in-__zzip_get32-fetch-c
openwall.com/lists/oss-security/2017/02/14/3
securityfocus.com/bid/96268
debian.org/security/2017/dsa-3878
nvd.nist.gov/vuln/detail/CVE-2017-5974
github.com/advisories/GHSA-2g55-7wqw-h2c5
Show 40 moreShow less
security-tracker.debian.org/tracker/CVE-2017-5974
advisories.mageia.org/MGASA-2017-0163.html
bugs.mageia.org/show_bug.cgi?id=20285
lists.opensuse.org/opensuse-updates/2017-05/msg00025.html
suse.com/support/update/announcement/2017/suse-su-20171095-1
bugzilla.suse.com/1024517
bugzilla.suse.com/1024528
bugzilla.suse.com/1024531
bugzilla.suse.com/1024532
bugzilla.suse.com/1024533
bugzilla.suse.com/1024534
bugzilla.suse.com/1024535
bugzilla.suse.com/1024536
bugzilla.suse.com/1024537
bugzilla.suse.com/1024539
suse.com/security/cve/CVE-2017-5974
suse.com/security/cve/CVE-2017-5975
suse.com/security/cve/CVE-2017-5976
suse.com/security/cve/CVE-2017-5977
suse.com/security/cve/CVE-2017-5978
suse.com/security/cve/CVE-2017-5979
suse.com/security/cve/CVE-2017-5980
suse.com/security/cve/CVE-2017-5981
ubuntu.com/security/CVE-2017-5974
ubuntu.com/security/notices/USN-3320-1
cve.org/CVERecord?id=CVE-2017-5974
ubuntu.com/security/CVE-2017-5975
ubuntu.com/security/CVE-2017-5976
ubuntu.com/security/CVE-2017-5978
ubuntu.com/security/CVE-2017-5979
ubuntu.com/security/CVE-2017-5980
ubuntu.com/security/CVE-2017-5981
suse.com/security/cve/CVE-2018-16548
suse.com/security/cve/CVE-2018-17828
suse.com/security/cve/CVE-2018-6381
suse.com/security/cve/CVE-2018-6484
suse.com/security/cve/CVE-2018-6540
suse.com/security/cve/CVE-2018-6542
suse.com/security/cve/CVE-2018-7725
suse.com/security/cve/CVE-2018-7726