Medium
Security advisory
The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-14107
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:10 UTC · Revision 1
Source evidence
The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.
osv:CVE-2017-14107
Complete source record
{
"id": "72624eef103eef0892842e4a7dbb51e519ca57b91c0ada51fe17c409b0a59172",
"url": "https://osv.dev/vulnerability/CVE-2017-14107",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-14107",
"summary": "The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.",
"evidence": "osv:CVE-2017-14107",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-14107",
"aliases": [
"CVE-2017-14107"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nih-at/libzip",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "51ff59da3a8c7d3934e23aed70eb0347234a14c9"
},
{
"fixed": "9b46957ec98d85a572e9ef98301247f39338a3b5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libzip:libzip:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "9b46957ec98d85a572e9ef98301247f39338a3b5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"rel-1-2-0",
"brian-gladman-fcrypt-2008-11-18",
"rel-1-1-3",
"rel-1-1-2",
"rel-1-1-1",
"rel-1-1",
"rel-1-0-1",
"rel-1-0",
"rel-1-0-beta1",
"rel-0-11-2",
"rel-0-11-1",
"rel-0-10",
"rel-0-9-3",
"rel-0-9-2",
"rel-0-9-1",
"rel-0-9",
"rel-0-8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14107.json",
"vanir_signatures": [
{
"id": "CVE-2017-14107-32b145ed",
"digest": {
"length": 2463,
"function_hash": "270634252082683356640149721446126711800"
},
"source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5",
"target": {
"file": "lib/zip_open.c",
"function": "_zip_read_eocd64"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2017-14107-ac68091e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"165964108850227973857470887023903761180",
"96688641138386494289697648155179514093",
"45523777207728124008034808853355606263",
"224754828264554936099524097806032039924"
]
},
"source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5",
"target": {
"file": "lib/zip_open.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:15:52Z"
}
}
],
"modified": "2026-10-20T13:15:52.155978353Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2021/12/msg00022.html",
"https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/",
"https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-14107",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387423,
"published_at": "2017-09-01T17:29:00.26+00:00"
}