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.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.040 · newest: 0.040 · change: 0.000
Affected products
- Nih Libzip — versions 0.10
Weakness classification (CWE)
References
- nih.at/listarchive/libzip-discuss/msg00252.html (mailing-list, Exploit)
- www.openwall.com/lists/oss-security/2012/03/21/2 (mailing-list, Exploit)
- www.mandriva.com/security/advisories (vendor-advisory)
- www.nih.at/libzip/NEWS.html
- www.openwall.com/lists/oss-security/2012/03/29/11 (mailing-list)
- www.gentoo.org/security/en/glsa/glsa-201203-23.xml (vendor-advisory)