Live threats

All CVEs / Nih

CVE-2012-1162Nih Libzip

High 7.5 No auth needed

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."

Original NVD text.

What to do

  1. Apply the vendor's security update for Libzip.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nihlibzip0.10

Official sources

References

Links published by the sources. Open them with care.