CVE-2018-7726: Buffer Overflow
An issue was discovered in ZZIPlib 0.13.68. There is a bus error caused by the zzipparserootdirectory function of zip.c. Attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.
Other sources
ZZIPlib through version 0.13.68 does not correctly validate input values used in zip.c:zzipparserootdirectory() as parameters to mmap. Remote attackers could leverage this vulnerability to cause a Denial of Service via a crafted zip file.
Upstream Issue: https://github.com/gdraheim/zziplib/issues/41 https://github.com/gdraheim/zziplib/issues/27
Upstream patches: https://github.com/gdraheim/zziplib/commit/8f48323c181e20b7e527b8be7229d6eb1148ec5f https://github.com/gdraheim/zziplib/commit/19c9e4dc6c5cf92a38d0d23dbccac6993f9c41be https://github.com/gdraheim/zziplib/commit/feae4da1a5c92100c44ebfcbaaa895959cc0829b
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/zziplibto a version that resolves this vulnerability.Fixed in 0.13.69 - Upgrade
Upgrade
debian/zziplibto a version that resolves this vulnerability.Fixed in 0.13.62-3.3+deb11u1Fixed in 0.13.72+dfsg.1-1.1Fixed in 0.13.72+dfsg.1-1.2Fixed in 0.13.72+dfsg.1-1.3
Event History
Frequently Asked Questions
What is the severity of CVE-2018-7726?
CVE-2018-7726 has a severity rating that indicates it can lead to denial of service.
How do I fix CVE-2018-7726?
To mitigate CVE-2018-7726, upgrade ZZIPlib to version 0.13.69 or later.
Which versions of ZZIPlib are affected by CVE-2018-7726?
ZZIPlib versions up to and including 0.13.68 are affected by CVE-2018-7726.
Can CVE-2018-7726 be exploited remotely?
Yes, CVE-2018-7726 can be exploited remotely through the use of a crafted zip file.
What is the nature of CVE-2018-7726 vulnerability?
CVE-2018-7726 is a bus error vulnerability resulting from improper handling of zip file parsing.