CVE-2012-1162Nih Libzip
High 7.5 No auth needed
Follow: this CVE · Nih · Nih Libzip We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jul 12, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
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."
What to do
- Apply the vendor's security update for Libzip.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nih | libzip | 0.10 |
Official sources
References
Links published by the sources. Open them with care.
- nih.at Exploit
- www.gentoo.org
- www.mandriva.com
- www.nih.at
- www.openwall.com Exploit
- www.openwall.com