# CVE-2019-17582: 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…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.48%, higher than 85% of CVEs (2026-12-02)
- Published: 2021-02-09T18:07:57.000Z
- Modified: 2026-06-17T02:24:13.607Z
- Weaknesses: CWE-416
- Assigned by: mitre

## Description

A use-after-free in the _zip_dirent_read function of zip_dirent.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."

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libzip libzip: 1.2.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://libzip.org/libzip-discuss/> (release-notes, vendor-advisory)
- <https://github.com/nih-at/libzip/issues/5> (third-party-advisory)
- <https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2019-17582](https://www.cve.org/CVERecord?id=CVE-2019-17582), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-17582](https://nvd.nist.gov/vuln/detail/CVE-2019-17582), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-17582 · Whole record: https://cve.day/CVE-2019-17582.json · Rebuilt by cve.day 2026-11-25T22:57:50.121Z
