| Name | CVE-2016-7166 |
| Description | libarchive 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-617-1, DSA-3677-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libarchive (PTS) | bullseye | 3.4.3-2+deb11u1 | fixed |
| bullseye (security) | 3.4.3-2+deb11u2 | fixed | |
| bookworm | 3.6.2-1+deb12u3 | fixed | |
| bookworm (security) | 3.6.2-1+deb12u2 | fixed | |
| forky, sid, trixie | 3.7.4-4 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libarchive | source | wheezy | 3.0.4-3+wheezy3 | DLA-617-1 | ||
| libarchive | source | jessie | 3.1.2-11+deb8u3 | DSA-3677-1 | ||
| libarchive | source | (unstable) | 3.2.0-2 |
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