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": [
{
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
]
}
]
}{
"cpe": "cpe:2.3:a:libzip:libzip:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
]
}[
{
"digest": {
"length": 2463.0,
"function_hash": "270634252082683356640149721446126711800"
},
"signature_version": "v1",
"source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5",
"signature_type": "Function",
"target": {
"function": "_zip_read_eocd64",
"file": "lib/zip_open.c"
},
"id": "CVE-2017-14107-32b145ed",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"165964108850227973857470887023903761180",
"96688641138386494289697648155179514093",
"45523777207728124008034808853355606263",
"224754828264554936099524097806032039924"
]
},
"signature_version": "v1",
"source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5",
"signature_type": "Line",
"target": {
"file": "lib/zip_open.c"
},
"id": "CVE-2017-14107-ac68091e",
"deprecated": false
}
]
"2026-07-08T15:10:33Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14107.json"