CVE-2019-17582

Source
https://cve.org/CVERecord?id=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
2026-07-08T17:16:50.791401Z
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
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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-17582.json"
vanir_signatures_modified
"2026-07-08T17:16:50Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796",
        "id": "CVE-2019-17582-11de36c1",
        "digest": {
            "length": 5237.0,
            "function_hash": "247741707400283749085108019441784905923"
        },
        "target": {
            "function": "_zip_dirent_read",
            "file": "lib/zip_dirent.c"
        },
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "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"
            ]
        },
        "target": {
            "file": "lib/zip_dirent.c"
        },
        "deprecated": false,
        "signature_type": "Line"
    }
]