CVE-2018-6540 json
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.
published 2018-02-02 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18292
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- zziplib Debian 14, Debian 13, Debian 12 0.13.62-3.2
debian advisories DEBIAN-CVE-2018-6540
- zziplib Ubuntu 14.04 LTS 0.13.62-2ubuntu0.2
- zziplib Ubuntu 16.04 LTS 0.13.62-3ubuntu0.16.04.2
- zziplib Ubuntu 18.04 LTS 0.13.62-3.1ubuntu0.18.04.1
ubuntu advisories UBUNTU-CVE-2018-6540
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- zziplib SLED 12 SP3, SLED 12 SP2, SLE Workstation Extension 12 SP3 +3 more 0.13.67-10.5.1
suse advisories SUSE-SU-2018:0548-1
- zziplib openSUSE Tumbleweed 0.13.72-1.4
opensuse advisories openSUSE-SU-2024:11546-1
- zziplib Arch Linux 0.13.68-1
arch linux advisories AVG-667
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6540 updated cvss 3.3
zziplib: bus error in zzip_disk_findfirst function in zzip/mmapped.c
-
Red Hat Enterprise Linux 7 zziplib, zziplib-utilsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 zziplib, zziplib-utilsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.26% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/gdraheim/zziplib/issues/15 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
References
-
github.com
/gdraheim/zziplib/issues/15
exploit, third-party-advisory
-
usn.ubuntu.com
/3699-1/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/06/msg00029.html
mailing-list
Sources
- CVE List CVE-2018-6540
- NVD CVE-2018-6540
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.