CVE-2012-1162

high
Published 2012-07-12 · Modified 2026-04-29
CVSS v3
CVSS v2
7.5
VIR risk
7.5

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

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-1162

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed0.10.1-1
debian debianbullseyefixed0.10.1-1
debian debianforkyfixed0.10.1-1
debian debiansidfixed0.10.1-1
debian debiantrixiefixed0.10.1-1

Application impact

VendorProductVersionsFixed
nihlibzip0.10

References

CWEs

CWE-119

Verify integrity in audit chain (admin only). AS-IS.