CVE-2019-17582

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-17582
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-17582.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-17582
Downstream
Published
2021-02-09T19:15:12.553Z
Modified
2025-11-20T10:59:51.876110Z
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

A use-after-free in the zipdirentread function of zipdirent.c in libzip 1.2.0 allows attackers to have an unspecified impact by attempting to unzip a malformed ZIP archive. NOTE: the discoverer states "This use-after-free is triggered prior to the double free reported in CVE-2017-12858."

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

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