{"id":"CVE-2012-1162","aliases":["DEBIAN-CVE-2012-1162","EUVD-2012-1192","GHSA-m749-r8jf-5h5g","openSUSE-SU-2024:10113-1"],"status":"published","title":"Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows...","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.\"","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04028,"percentile":0.9066,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2012-07-12T20:00:00Z","modified":"2026-10-23T17:47:31Z","fixes":[{"ecosystem":"Debian:12","package":"libzip","fixed_in":["0.10.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libzip","fixed_in":["0.10.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libzip","fixed_in":["0.10.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-1.4"}]}],"bundled":4}],"products":[{"vendor":"nih","product":"libzip"}],"references":[{"url":"http://nih.at/listarchive/libzip-discuss/msg00252.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/21/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:034","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.nih.at/libzip/NEWS.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/29/11","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-201203-23.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1162"},{"url":"https://github.com/advisories/GHSA-m749-r8jf-5h5g"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-1162","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2011-0421","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-1162","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2012-1163","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-2331","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-1162","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.\"","status":"published","published":"2012-07-12T20:00:00Z","modified":"2024-09-16T20:37:08.613Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2012-1192","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.\"","status":"published","published":"2012-07-12T20:00:00Z","modified":"2024-09-16T20:37:08Z","updated_at":"2026-11-03T00:55:12.113193Z"}],"ghsa":[{"id":"GHSA-m749-r8jf-5h5g","title":"Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows...","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.\"","status":"published","published":"2022-05-17T05:27:49Z","modified":"2023-01-28T05:04:16Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:44:08.177015Z"}],"nvd":[{"id":"CVE-2012-1162","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.\"","status":"published","published":"2012-07-12T20:55:14.92Z","modified":"2026-06-16T23:39:09.667Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:14.774945Z"}],"osv":[{"id":"CVE-2012-1162","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.\"","status":"published","published":"2012-07-12T20:55:14Z","modified":"2026-04-10T03:42:15.181585Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-1162","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.\"","status":"published","published":"2012-07-12T20:55:14.92Z","modified":"2026-10-23T17:47:31.808209145Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"openSUSE-SU-2024:10113-1","title":"libzip-devel-1.1.3-1.4 on GA media","description":"These are all security issues fixed in the libzip-devel-1.1.3-1.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:24:41.465531Z","updated_at":"2026-11-02T16:58:33.135986Z"}]}}
