CVE-2017-12858

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-12858
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12858.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-12858
Downstream
Related
Published
2017-08-23T14:29:00Z
Modified
2025-10-21T04:10:11.614860Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Double free vulnerability in the zipdirentread function in zipdirent.c in libzip allows attackers to have unspecified impact via unknown vectors.

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

[
    {
        "source": "https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796",
        "signature_version": "v1",
        "target": {
            "file": "lib/zip_dirent.c",
            "function": "_zip_dirent_read"
        },
        "digest": {
            "length": 5237.0,
            "function_hash": "247741707400283749085108019441784905923"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2017-12858-11de36c1"
    },
    {
        "source": "https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796",
        "signature_version": "v1",
        "target": {
            "file": "lib/zip_dirent.c"
        },
        "digest": {
            "line_hashes": [
                "126407887668340329650951841643656814806",
                "79489290485161336371396243068446216870",
                "103867276804264513481566455227706953226",
                "200745644596356662579889932048953027052",
                "18703439355701899585658934728937768609",
                "10360732491339512210894939584152610856"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2017-12858-f2d51449"
    }
]