CVE-2018-7727
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function...
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- 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
6.5
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
CVE-2018-7727- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/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-772
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
CVE-2018-7727- Updated
- 2026-11-02
EUVDEUVD-2018-19442 No score
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
EUVD-2018-19442- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4g2g-r89f-8qqm
6.5
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function...
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
GHSA-4g2g-r89f-8qqm- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
6.5
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
CVE-2018-7727- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-7727
6.5
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
DEBIAN-CVE-2018-7727- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVRHSA-2018:3229
5.4
Red Hat Security Advisory: zziplib security update
- Record
RHSA-2018:3229- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-7727
6.5
An issue was discovered in ZZIPlib 0.13.68. There is a memory leak triggered in the function zzip_mem_disk_new in memdisk.c, which will lead to a denial of service attack.
- Record
UBUNTU-CVE-2018-7727- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0093 No score
Updated zziplib packages fix security vulnerability
In ZZIPlib 0.13.67, there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file->stored data (CVE-2018-6381).
An unaligned memory access bug was found in the way ZZIPlib handled ZIP files. This flaw could potentially be used to crash the application using ZZIPlib by tricking the application into processing specially crafted ZIP files (CVE-2018-6484).
In ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file (CVE-2018-6540).
A flaw was found in ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address (when handling disk64_trailer local entries) in __zzip_fetch_disk_trailer (zzip/zip.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file (CVE-2018-6541).
In ZZIPlib 0.13.67, there is a bus error (when handling a disk64_trailer seek value) caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c (CVE-2018-6542).
An uncontrolled memory allocation was found in ZZIPlib that could lead to a crash in the __zzip_parse_root_directory function of zzip/zip.c if the package is compiled with Address Sanitizer. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file (CVE-2018-6869).
An out of bounds read was found in function zzip_disk_fread of ZZIPlib, up to 0.13.68, when ZZIPlib mem_disk functionality is used. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file (CVE-2018-7725).
An improper input validation was found in function __zzip_fetch_disk_trailer of ZZIPlib, up to 0.13.68, that could lead to a crash in __zzip_parse_root_directory function of zzip/zip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file (CVE-2018-7726).
A memory leak was found in unzip-mem.c and unzzip-mem.c of ZZIPlib, up to v0.13.68, that could lead to resource exhaustion. Local attackers could leverage this vulnerability to cause a denial of service via a crafted zip file (CVE-2018-7727).
An issue was discovered in ZZIPlib through 0.13.69. There is a memory leak triggered in the function __zzip_parse_root_directory in zip.c, which could lead to a denial of service attack (CVE-2018-16548).
A flaw was found in ZZIPlib 0.13.69. A directory traversal vulnerability allows attackers to overwrite arbitrary files via a .. (dot dot) in a zip file, because of the function unzzip_cat in the bins/unzzipcat-mem.c file (CVE-2018-17828).
- Record
MGASA-2019-0093- Updated
- 2026-11-02
OSVSUSE-SU-2019:3341-1 No score
Security update for zziplib
This update for zziplib fixes the following issues:
Security issues fixed:
- CVE-2018-16548: Avoid a memory leak from __zzip_parse_root_directory() which could lead to denial of service. (bsc#1107424)
- CVE-2018-7727: Fixed a memory leak in unzzip_cat() (bsc#1084515).
Non-security issue fixed:
- Prevented division by zero by first checking if uncompressed size is 0. This may happen with directories which have a compressed and uncompressed size of 0. (bsc#1129403)
- Record
SUSE-SU-2019:3341-1- Updated
- 2026-11-02
OSVUSN-6298-1 No score
zziplib vulnerabilities
Liu Zhu discovered that ZZIPlib incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2018-7727)
YiMing Liu discovered that ZZIPlib incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2020-18442)
- Record
USN-6298-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
zziplibDebian:12 |
All versions, plus listed versions 0.13.72+dfsg.1-1.10.13.72+dfsg.1-1.20.13.72+dfsg.1-1.2~exp10.13.72+dfsg.1-1.30.13.78+dfsg.1-0.10.13.78+dfsg.1-0.2 |
None known |
zziplibDebian:13 |
All versions, plus listed versions 0.13.78+dfsg.1-0.10.13.78+dfsg.1-0.2 |
None known |
zziplibDebian:14 |
All versions, plus listed versions 0.13.78+dfsg.1-0.10.13.78+dfsg.1-0.2 |
None known |
zziplibMageia:6 From an advisory covering 11 CVEs |
before 0.13.69-1.mga6 | 0.13.69-1.mga6 |
zziplibRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-debuginfoRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-develRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-utilsRed Hat:enterprise_linux:7::client From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplibRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-debuginfoRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
zziplib-develRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-utilsRed Hat:enterprise_linux:7::computenode From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplibRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-debuginfoRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-develRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-utilsRed Hat:enterprise_linux:7::server From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplibRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-debuginfoRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-develRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplib-utilsRed Hat:enterprise_linux:7::workstation From an advisory covering 3 CVEs |
before 0:0.13.62-9.el7 | 0:0.13.62-9.el7 |
zziplibSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 2 CVEs |
before 0.13.67-10.25.1 | 0.13.67-10.25.1 |
zziplibSUSE:Linux Enterprise Software Development Kit 12 SP4 From an advisory covering 2 CVEs |
before 0.13.67-10.25.1 | 0.13.67-10.25.1 |
zziplibSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 2 CVEs |
before 0.13.67-10.25.1 | 0.13.67-10.25.1 |
zziplibSUSE:Linux Enterprise Workstation Extension 12 SP4 From an advisory covering 2 CVEs |
before 0.13.67-10.25.1 | 0.13.67-10.25.1 |
zziplibSUSE:Linux Enterprise Workstation Extension 12 SP5 From an advisory covering 2 CVEs |
before 0.13.67-10.25.1 | 0.13.67-10.25.1 |
zziplibUbuntu:Pro:16.04:LTS |
before 0.13.62-3ubuntu0.16.04.2+esm1, plus listed versions 0.13.62-30.13.62-3ubuntu0.16.04.10.13.62-3ubuntu0.16.04.2 |
0.13.62-3ubuntu0.16.04.2+esm1 |
zziplibUbuntu:Pro:18.04:LTS |
before 0.13.62-3.1ubuntu0.18.04.1+esm1, plus listed versions 0.13.62-3.10.13.62-3.1ubuntu0.18.04.1 |
0.13.62-3.1ubuntu0.18.04.1+esm1 |
zziplibUbuntu:20.04:LTS |
before 0.13.62-3.2ubuntu1.1, plus listed versions 0.13.62-3.20.13.62-3.2ubuntu1 |
0.13.62-3.2ubuntu1.1 |
zziplibUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 0.13.62-3ubuntu0.16.04.2+esm1, plus listed versions 0.13.62-30.13.62-3ubuntu0.16.04.10.13.62-3ubuntu0.16.04.2 |
0.13.62-3ubuntu0.16.04.2+esm1 |
zziplibUbuntu:Pro:18.04:LTS From an advisory covering 2 CVEs |
before 0.13.62-3.1ubuntu0.18.04.1+esm1, plus listed versions 0.13.62-3.10.13.62-3.1ubuntu0.18.04.1 |
0.13.62-3.1ubuntu0.18.04.1+esm1 |
zziplibUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 0.13.62-3.2ubuntu1.1, plus listed versions 0.13.62-3.20.13.62-3.2ubuntu1 |
0.13.62-3.2ubuntu1.1 |
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-2018-7727 is a medium vulnerability (CVSS 6.5) in Gdraheim Zziplib, published March 6, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.24%, the 69th percentile. Fixed in zziplib 0.13.62-3ubuntu0.16.04.2+esm1.
References
github.com/gdraheim/zziplib/issues/40
access.redhat.com/errata/RHSA-2018:3229
nvd.nist.gov/vuln/detail/CVE-2018-7727
github.com/advisories/GHSA-4g2g-r89f-8qqm
security-tracker.debian.org/tracker/CVE-2018-7727
advisories.mageia.org/MGASA-2019-0093.html
Show 32 moreShow less
bugs.mageia.org/show_bug.cgi?id=22570
lists.fedoraproject.org/archives/list/[email protected]/thread/R5NI6QBHJA6ZI7AYP4BYGADTML3F2LNO
lists.fedoraproject.org/archives/list/[email protected]/thread/T5F2Q7GQYRYWHMTEF2OKBIHBBFV6SZBY
lists.fedoraproject.org/archives/list/[email protected]/thread/I6J523IVLVVPUEHRDYT54A5QOKM5XVTO
lists.fedoraproject.org/archives/list/[email protected]/thread/MKVLTCQZTM4IO2OP63CRKPLX6NQKLQ2O
bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16548
lists.opensuse.org/opensuse-updates/2018-02/msg00110.html
lists.opensuse.org/opensuse-updates/2018-06/msg00017.html
lists.opensuse.org/opensuse-updates/2018-10/msg00130.html
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1554662
bugzilla.redhat.com/show_bug.cgi?id=1554672
bugzilla.redhat.com/show_bug.cgi?id=1554676
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_3229.json
access.redhat.com/security/cve/CVE-2018-7725
cve.org/CVERecord?id=CVE-2018-7725
nvd.nist.gov/vuln/detail/CVE-2018-7725
access.redhat.com/security/cve/CVE-2018-7726
cve.org/CVERecord?id=CVE-2018-7726
nvd.nist.gov/vuln/detail/CVE-2018-7726
access.redhat.com/security/cve/CVE-2018-7727
cve.org/CVERecord?id=CVE-2018-7727
suse.com/support/update/announcement/2019/suse-su-20193341-1
bugzilla.suse.com/1084515
bugzilla.suse.com/1107424
bugzilla.suse.com/1129403
suse.com/security/cve/CVE-2018-16548
suse.com/security/cve/CVE-2018-7727
ubuntu.com/security/CVE-2018-7727
ubuntu.com/security/notices/USN-6298-1
ubuntu.com/security/CVE-2020-18442