CVE-2012-1162

Exp

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

Published: 2012-07-12 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-1162 is rated High Exploit Risk (73.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.67%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-1162

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-1162

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-03 1.97% 1.67% -0.30%
2 2025-03-30 3.30% 1.97% -1.33%
3 2025-03-29 3.30%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-1162

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2012-1162

OS Trackers for CVE-2012-1162

vendor priority summary link
debian not yet assigned CVE-2012-1162 not yet assigned priority: Debian including 1 source packages (libzip), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-1162
gentoo normal CVE-2012-1162: 1 GLSA(s) (201203-23), 1 atom(s) (dev-libs/libzip); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-1162
redhat medium https://access.redhat.com/security/cve/CVE-2012-1162
suse high CVE-2012-1162 severity important: SUSE including 18 source package names (libzip-devel-0.11.1-12.1, libzip-devel-0.11.1-13.3.1, …), 37 product×package rows across 28 product lines (SUSE Linux Enterprise Desktop 12, SUSE Linux Enterprise Desktop 12 SP1, … (28 product lines)): Fixed 37. https://www.suse.com/security/cve/CVE-2012-1162/
ubuntu medium CVE-2012-1162 medium priority: Ubuntu including 1 source packages (libzip), 6 status rows across 6 suites (hardy, lucid, maverick, natty, oneiric, upstream): not-affected 4, ignored 1, released 1. https://ubuntu.com/security/CVE-2012-1162

Affected software / configurations for CVE-2012-1162

Vendor Product Version Raw CPE
nih libzip 0.10 cpe:2.3:a:nih:libzip:0.10:*:*:*:*:*:*:*

References for CVE-2012-1162

cvelogic Threat Intelligence