CVE-2018-6381 json
In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segment…
published 2018-01-29 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18138
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 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.
Patch / fix
- zziplib Debian 14, Debian 13, Debian 12 0.13.62-3.2
debian advisories DEBIAN-CVE-2018-6381
- 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-6381
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-6381 updated cvss 3.3
zziplib: Invalid memory access in the zzip_disk_fread function in zzip/mmapped.c
-
Red Hat Enterprise Linux 7 zziplib, zziplib-utilsaffected: no fix planned “Will not fix”
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
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gdraheim/zziplib/issues/12 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 |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/gdraheim/zziplib/issues/12
exploit, issue-tracking, 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
- github.com /Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-6381
Sources
- CVE List CVE-2018-6381
- NVD CVE-2018-6381
Fencer Vulns 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.