Vulnerability in Nih Libzip
CVE-2012-1163
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/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.025, 85.3th 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)
- [oss-security] 20120321 CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip (mailing-list)
- 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)