CVE-2017-14107

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-14107
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-14107.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-14107
Downstream
Related
Published
2017-09-01T17:29:00Z
Modified
2025-10-15T08:46:11.538091Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/nih-at/libzip

Affected ranges

Type
GIT
Repo
https://github.com/nih-at/libzip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

brian-gladman-fcrypt-2008-11-18
rel-0-10
rel-0-10-1
rel-0-11
rel-0-11-1
rel-0-11-2
rel-0-8
rel-0-9
rel-0-9-1
rel-0-9-2
rel-0-9-3
rel-1-0
rel-1-0-1
rel-1-0-beta1
rel-1-1
rel-1-1-1
rel-1-1-2
rel-1-1-3
rel-1-2-0

Database specific

vanir_signatures

[
    {
        "id": "CVE-2017-14107-32b145ed",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "lib/zip_open.c",
            "function": "_zip_read_eocd64"
        },
        "digest": {
            "function_hash": "270634252082683356640149721446126711800",
            "length": 2463.0
        },
        "source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5"
    },
    {
        "id": "CVE-2017-14107-ac68091e",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "lib/zip_open.c"
        },
        "digest": {
            "line_hashes": [
                "165964108850227973857470887023903761180",
                "96688641138386494289697648155179514093",
                "45523777207728124008034808853355606263",
                "224754828264554936099524097806032039924"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5"
    }
]