{"id":"UBUNTU-CVE-2019-17582","details":"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.\"","modified":"2025-07-16T07:39:48.089625Z","published":"2021-02-09T19:15:00Z","withdrawn":"2025-07-18T16:45:23Z","upstream":["CVE-2019-17582"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-17582"},{"type":"REPORT","url":"https://github.com/nih-at/libzip/commit/2217022b7d1142738656d891e00b3d2d9179b796"},{"type":"REPORT","url":"https://github.com/nih-at/libzip/issues/5"},{"type":"REPORT","url":"https://libzip.org/libzip-discuss/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-17582"}],"affected":[{"package":{"name":"libzip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libzip@1.5.1-0ubuntu1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.1-0ubuntu1"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libzip-dev","binary_version":"1.5.1-0ubuntu1"},{"binary_name":"libzip5","binary_version":"1.5.1-0ubuntu1"},{"binary_name":"libzip5-dbgsym","binary_version":"1.5.1-0ubuntu1"},{"binary_name":"zipcmp","binary_version":"1.5.1-0ubuntu1"},{"binary_name":"zipcmp-dbgsym","binary_version":"1.5.1-0ubuntu1"},{"binary_version":"1.5.1-0ubuntu1","binary_name":"zipmerge"},{"binary_name":"zipmerge-dbgsym","binary_version":"1.5.1-0ubuntu1"},{"binary_name":"ziptool","binary_version":"1.5.1-0ubuntu1"},{"binary_name":"ziptool-dbgsym","binary_version":"1.5.1-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17582.json"}},{"package":{"name":"libzip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libzip@1.7.3-1ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3-1ubuntu2"}]}],"versions":["1.7.3-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libzip-dev","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"libzip4","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"libzip4-dbgsym","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"zipcmp","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"zipcmp-dbgsym","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"zipmerge","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"zipmerge-dbgsym","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"ziptool","binary_version":"1.7.3-1ubuntu2"},{"binary_name":"ziptool-dbgsym","binary_version":"1.7.3-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17582.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}