Every CVE Search/ Get API key

CVE-2012-1162

Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows...

7.5 HighFix available

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

Exploit likelihood

4.03%Down 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2012-1162
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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

Record
CVE-2012-1162
Updated
2026-11-02
EUVDEUVD-2012-1192 No score

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

Record
EUVD-2012-1192
Updated
2026-11-03
GitHub AdvisoriesGHSA-m749-r8jf-5h5g No score

Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows...

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

Record
GHSA-m749-r8jf-5h5g
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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

Record
CVE-2012-1162
Updated
2026-11-02
OSVDEBIAN-CVE-2012-1162 No score

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

Record
DEBIAN-CVE-2012-1162
Updated
2026-11-02
OSVopenSUSE-SU-2024:10113-1 No score

libzip-devel-1.1.3-1.4 on GA media

These are all security issues fixed in the libzip-devel-1.1.3-1.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10113-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libzip
Debian:12
before 0.10.1-1
0.10.1-1
libzip
Debian:13
before 0.10.1-1
0.10.1-1
libzip
Debian:14
before 0.10.1-1
0.10.1-1
libzip
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 1.1.3-1.4
1.1.3-1.4

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-1162 is a high vulnerability (CVSS 7.5) in Nih Libzip, published July 12, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.03%, the 90th percentile. Fixed in libzip 0.10.1-1.

References

Show 7 moreShow less
MoveEnter Open