CVE-2012-1162

NameCVE-2012-1162
DescriptionHeap-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."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs664990

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libzip (PTS)jessie0.11.2-1.2fixed
stretch (security), stretch (lts), stretch1.1.2-1.1+deb9u1fixed
buster1.5.1-4fixed
bullseye, bookworm1.7.3-1fixed
sid, trixie1.11.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libzipsourcesqueeze(not affected)
libzipsource(unstable)0.10.1-1664990

Notes

[squeeze] - libzip <not-affected> (Only affects 0.10.x)

Search for package or bug name: Reporting problems