Skip to content
OpenAdvisories
Unscored CVE-2012-1162 EUVD-2012-1192GHSA-m749-r8jf-5h5g

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 …

Published Jul 12, 2012 · Updated Sep 16, 2024 · Assigned by redhat

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libzip 0.10.1-1 —
Debian 13 libzip 0.10.1-1 —
Debian 12 libzip 0.10.1-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libzip 1.1.3-1.4 openSUSE-SU-2024:10113-1

Advisories 1

References