{"id":"DEBIAN-CVE-2012-1162","details":"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.\"","modified":"2026-09-05T06:47:39.945266100Z","published":"2012-07-12T20:55:14.920Z","upstream":["CVE-2012-1162"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2012-1162"}],"affected":[{"package":{"name":"libzip","ecosystem":"Debian:12","purl":"pkg:deb/debian/libzip?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-1162.json"}},{"package":{"name":"libzip","ecosystem":"Debian:13","purl":"pkg:deb/debian/libzip?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-1162.json"}},{"package":{"name":"libzip","ecosystem":"Debian:14","purl":"pkg:deb/debian/libzip?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.1-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-1162.json"}}],"schema_version":"1.9.0"}