CVE-2017-12858

Source
https://cve.org/CVERecord?id=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:00.360Z
Modified
2026-07-08T15:10:31.289485Z
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
Database specific
{
    "cpe": "cpe:2.3:a:libzip:libzip:1.2.0:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.2.0"
        },
        {
            "last_affected": "1.2.0"
        }
    ]
}

Affected versions

1.*
1.2.0
Other
rel-1-2-0

Database specific

vanir_signatures_modified
"2026-07-08T15:10:31Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "lib/zip_dirent.c",
            "function": "_zip_dirent_read"
        },
        "deprecated": false,
        "source": "https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796",
        "id": "CVE-2017-12858-11de36c1",
        "signature_version": "v1",
        "digest": {
            "function_hash": "247741707400283749085108019441784905923",
            "length": 5237.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "lib/zip_dirent.c"
        },
        "deprecated": false,
        "source": "https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796",
        "id": "CVE-2017-12858-f2d51449",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "126407887668340329650951841643656814806",
                "79489290485161336371396243068446216870",
                "103867276804264513481566455227706953226",
                "200745644596356662579889932048953027052",
                "18703439355701899585658934728937768609",
                "10360732491339512210894939584152610856"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12858.json"