CVE-2012-1162
publishedlibzip: heap overflow flaw when processing malformed zip file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-develaarch64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-develppc64le | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-devels390x | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-develx86_64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-toolsaarch64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-toolsppc64le | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-toolss390x | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip-toolsx86_64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4aarch64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4ppc64le | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4s390x | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4x86_64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4-32bitaarch64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4-32bitppc64le | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4-32bits390x | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libzip4-32bitx86_64 | Advisory build | 1.1.3-1.4 | OPENSUSE-SU-2024:10113-1 |
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
6- [libzip-discuss] 20120320 libzip-0.10.1 security fix release http://nih.at/listarchive/libzip-discuss/msg00252.html
- GLSA-201203-23 http://www.gentoo.org/security/en/glsa/glsa-201203-23.xml
- MDVSA-2012:034 http://www.mandriva.com/security/advisories?name=MDVSA-2012:034
- http://www.nih.at/libzip/NEWS.html
- [oss-security] 20120321 CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip http://www.openwall.com/lists/oss-security/2012/03/21/2
- [oss-security] 20120329 Re: CVE-2012-1162 / -1163: Incorrect loop construct and numeric overflow in libzip http://www.openwall.com/lists/oss-security/2012/03/29/11
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 37be4dc2412381fec057f7b10378349a55a5099c61e28b2ac608a55a6f34f1b2
- Ingested
- 23 Sep 2026, 07:39:13 UTC
- Source record
- Official CVE record