CVE-2017-12858 json
Double free vulnerability in the _zip_dirent_read function in zip_dirent.c in libzip allows attackers to have unspecified impact via unknow…
published 2017-08-23 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4393
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
Double free vulnerability in the _zip_dirent_read function in zip_dirent.c in libzip allows attackers to have unspecified impact via unknown vectors.
Patch / fix
- libzip openSUSE Tumbleweed 1.8.0-1.2
opensuse advisories openSUSE-SU-2024:11018-1
- libzip Alpine 3.6 1.2.0-r2
alpine advisories ALPINE-CVE-2017-12858
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libzip Arch Linux 1.3.0-1
arch linux advisories AVG-390
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-2017-12858 updated cvss 3.3
libzip: Double free in _zip_dirent_read function in zip_dirent.c
-
Red Hat Enterprise Linux 5 php53 Red Hat Enterprise Linux 6 php, libzip, php-gd, php-cli, php-dba, php-fpm, +21 more Red Hat Enterprise Linux 7 libzip Red Hat Software Collections rh-php56-php, rh-php70-php, rh-php71-php, rh-php72-php, rh-php73-php, rh-php56-php-gd, +136 morenot 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
3.29% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
github.com
/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796
patch, third-party-advisory
-
securityfocus.com
/bid/100459
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-12858
- NVD CVE-2017-12858
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.