CVE-2012-1163 json
Integer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to execute arbitrary code via the size…
published 2012-07-12 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1193
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
Integer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to execute arbitrary code via the size and offset values for the central directory in a zip archive, which triggers "improper restrictions of operations within the bounds of a memory buffer" and an information leak.
Patch / fix
- libzip Debian 14, Debian 13, Debian 12 0.10.1-1
debian advisories DEBIAN-CVE-2012-1163
- libzip openSUSE Tumbleweed 1.1.3-1.4
opensuse advisories openSUSE-SU-2024:10113-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-1163 updated cvss 4.4
libzip: integer overflow when processing malformed zip file
-
Red Hat Enterprise Linux 5 php53 Red Hat Enterprise Linux 6 php, libzip, php-gd, php-cli, php-dba, php-fpm, +21 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.58% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
mandriva.com
/security/advisories?name=MDVSA-2012:034
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-201203-23.xml
vendor-advisory
-
nih.at
/listarchive/libzip-discuss/msg00252.html
mailing-list
-
openwall.com
/lists/oss-security/2012/03/21/2
mailing-list
- nih.at /libzip/NEWS.html
-
openwall.com
/lists/oss-security/2012/03/29/11
mailing-list
Sources
- CVE List CVE-2012-1163
- NVD CVE-2012-1163
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.