Libzip vulnerabilities

7 known vulnerabilities affecting libzip/libzip.

Total CVEs
7
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL2HIGH2MEDIUM3

Vulnerabilities

Page 1 of 1
CVE-2019-17582CRITICALCVSS 9.8v1.2.02021-02-09
CVE-2019-17582 [CRITICAL] CVE-2019-17582: A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers t 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."
nvdosv
CVE-2017-14107MEDIUMCVSS 6.5fixed in 1.3.02017-09-01
CVE-2017-14107 [MEDIUM] CWE-770 CVE-2017-14107: The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which al The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.
nvdosv
CVE-2017-12858CRITICALCVSS 9.8v1.2.02017-08-23
CVE-2017-12858 [CRITICAL] CWE-415 CVE-2017-12858: Double free vulnerability in the _zip_dirent_read function in zip_dirent.c in libzip allows attacker Double free vulnerability in the _zip_dirent_read function in zip_dirent.c in libzip allows attackers to have unspecified impact via unknown vectors.
nvd
CVE-2015-2331HIGHCVSS 7.5≥ 0, < 0.11.2-1.22015-03-30
CVE-2015-2331 [HIGH] CVE-2015-2331: Integer overflow in the _zip_cdir_new function in zip_dirent Integer overflow in the _zip_cdir_new function in zip_dirent.c in libzip 0.11.2 and earlier, as used in the ZIP extension in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 and other products, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a ZIP archive that contains many entries, leading to a heap-based buffer overflow.
osv
CVE-2012-1162HIGHCVSS 7.5≥ 0, < 0.10.1-12012-07-12
CVE-2012-1162 [HIGH] CVE-2012-1162: Heap-based buffer overflow in the _zip_readcdir function in zip_open Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a zip archive with the number of directories set to 0, related to an "incorrect loop construct."
osv
CVE-2012-1163MEDIUMCVSS 6.8≥ 0, < 0.10.1-12012-07-12
CVE-2012-1163 [MEDIUM] CVE-2012-1163: Integer overflow in the _zip_readcdir function in zip_open Integer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to execute arbitrary code via the size and offset values for the central directory in a zip archive, which triggers "improper restrictions of operations within the bounds of a memory buffer" and an information leak.
osv
CVE-2011-0421MEDIUMCVSS 4.3PoC≥ 0, < 0.10-12011-03-20
CVE-2011-0421 [MEDIUM] CVE-2011-0421: The _zip_name_locate function in zip_name_locate The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.
osv