The zipreadeocd64 function in zipopen.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in zipcdirgrow in zipdirent.c) via a crafted ZIP archive.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "1.3.0"
}
],
"cpes": [
"cpe:2.3:a:libzip:libzip:*:*:*:*:*:*:*:*"
],
"vendor_product": "libzip:libzip",
"source": "CPE_RANGE"
},
{
"extracted_events": [
{
"last_affected": "9.0"
}
],
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"source": "CPE_STRING"
},
{
"extracted_events": [
{
"fixed": "1.3.0"
}
],
"source": "DESCRIPTION"
}
]
}[
{
"digest": {
"function_hash": "270634252082683356640149721446126711800",
"length": 2463.0
},
"id": "CVE-2017-14107-32b145ed",
"signature_version": "v1",
"target": {
"file": "lib/zip_open.c",
"function": "_zip_read_eocd64"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5"
},
{
"digest": {
"line_hashes": [
"165964108850227973857470887023903761180",
"96688641138386494289697648155179514093",
"45523777207728124008034808853355606263",
"224754828264554936099524097806032039924"
],
"threshold": 0.9
},
"id": "CVE-2017-14107-ac68091e",
"signature_version": "v1",
"target": {
"file": "lib/zip_open.c"
},
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-14107.json"
"2026-06-05T14:11:49Z"