CVE-2016-8687Improper Restriction of Operations within the Bounds of a Memory Buffer in Libarchive

Severity
7.5HIGHNVD
EPSS
1.4%
top 19.71%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 15
Latest updateMay 14

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages9 packages

debiandebian/libarchive< libarchive 3.2.1-5 (bookworm)
Debianlibarchive/libarchive< 3.2.1-5+3
Ubuntulibarchive/libarchive< 3.1.2-7ubuntu2.4+1
Appleapple/ios10.2.1

Patches

🔴Vulnerability Details

3
GHSA
GHSA-c42q-jv3x-rq38: Stack-based buffer overflow in the safe_fprintf function in tar/util2022-05-14
OSV
libarchive vulnerabilities2017-03-09
OSV
CVE-2016-8687: Stack-based buffer overflow in the safe_fprintf function in tar/util2017-02-15

📋Vendor Advisories

7
Ubuntu
libarchive vulnerabilities2017-03-09
Apple
CVE-2016-8687: iOS 10.2.12017-01-23
Apple
CVE-2016-8687: tvOS 10.1.12017-01-23
Apple
CVE-2016-8687: macOS Sierra 10.12.32017-01-23
Apple
CVE-2016-8687: watchOS 3.1.32017-01-23

💬Community

6
Bugzilla
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive: various flaws [epel-5]2016-10-17
Bugzilla
libarchive: various flaws [fedora-all]2016-10-17
Bugzilla
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive3: various flaws [epel-6]2016-10-17
Bugzilla
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 mingw-libarchive: various flaws [fedora-all]2016-10-17
Bugzilla
CVE-2016-8687 libarchive: stack based buffer overflow in bsdtar_expand_char (util.c) [fedora-all]2016-09-23