| Name | CVE-2016-8687 |
| Description | Stack-based buffer overflow in the safe_fprintf function in tar/util.c in libarchive 3.2.1 allows remote attackers to cause a denial of service via a crafted non-printable multibyte character in a filename. |
| 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-1600-1, DLA-661-1 |
| Debian Bugs | 840936 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libarchive (PTS) | bookworm | 3.6.2-1+deb12u4 | fixed |
| bookworm (security) | 3.6.2-1+deb12u5 | fixed | |
| trixie | 3.7.4-4+deb13u1 | fixed | |
| forky, sid | 3.8.9-1 | 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+wheezy5 | DLA-661-1 | ||
| libarchive | source | jessie | 3.1.2-11+deb8u4 | DLA-1600-1 | ||
| libarchive | source | (unstable) | 3.2.1-5 | 840936 |
https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-stack-based-buffer-overflow-in-bsdtar_expand_char-util-c/
Fixed by: https://github.com/libarchive/libarchive/commit/e37b620fe8f14535d737e89a4dcabaed4517bf1a
https://github.com/libarchive/libarchive/issues/767