Buffer overflow in Nih Libzip
CVE-2012-1162
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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.040, 90.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nih Libzip — versions 0.10
Weakness classification (CWE)
References
- [libzip-discuss] 20120320 libzip-0.10.1 security fix release (mailing-list, Exploit)
- [oss-security] 20120321 CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip (mailing-list, Exploit)
- MDVSA-2012:034 (vendor-advisory)
- www.nih.at/libzip/NEWS.html
- [oss-security] 20120329 Re: CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip (mailing-list)
- GLSA-201203-23 (vendor-advisory)