CVE-2019-17582Use After Free in Libzip

CWE-416Use After Free5 documents5 sources
Severity
9.8CRITICALNVD
EPSS
0.8%
top 25.37%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 9
Latest updateMay 24

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."

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

Ubuntulibzip/libzip< 1.5.1-0ubuntu1+1
NVDlibzip/libzip1.2.0
debiandebian/libzip

Patches

🔴Vulnerability Details

2
GHSA
GHSA-hwrm-p2xq-q6hh: A use-after-free in the _zip_dirent_read function of zip_dirent2022-05-24
OSV
CVE-2019-17582: A use-after-free in the _zip_dirent_read function of zip_dirent2021-02-09

📋Vendor Advisories

2
Red Hat
libzip: use-after-free in the _zip_dirent_read function of zip_dirent.c2021-02-09
Debian
CVE-2019-17582: libzip - A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2....2019