Back
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…
High7.5EPSS 4.0%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 4.0% · top 9.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (6)
- [libzip-discuss] 20120320 libzip-0.10.1 security fix release (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20120321 CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- MDVSA-2012:034 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://www.nih.at/libzip/NEWS.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20120329 Re: CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-201203-23 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .