CVE-2016-7166

NameCVE-2016-7166
Descriptionlibarchive before 3.2.0 does not limit the number of recursive decompressions, which allows remote attackers to cause a denial of service (memory consumption and application crash) via a crafted gzip file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-617-1, DSA-3677-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)jessie, jessie (lts)3.1.2-11+deb8u12fixed
stretch (security)3.2.2-2+deb9u3fixed
stretch (lts), stretch3.2.2-2+deb9u5fixed
buster, buster (lts)3.3.3-4+deb10u4fixed
buster (security)3.3.3-4+deb10u3fixed
bullseye3.4.3-2+deb11u1fixed
bullseye (security)3.4.3-2+deb11u2fixed
bookworm3.6.2-1+deb12u1fixed
bookworm (security)3.6.2-1+deb12u2fixed
sid, trixie3.7.4-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesourcewheezy3.0.4-3+wheezy3DLA-617-1
libarchivesourcejessie3.1.2-11+deb8u3DSA-3677-1
libarchivesource(unstable)3.2.0-2

Notes

https://github.com/libarchive/libarchive/issues/660
(with reproducer) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207362
Fixed by: https://github.com/libarchive/libarchive/commit/6e06b1c89dd0d16f74894eac4cfc1327a06ee4a0
Fix improved by: https://github.com/libarchive/libarchive/commit/37649d274867edd2dd25d8a3057c3b6cd81ce83e

Search for package or bug name: Reporting problems