Skip to content
Fencer Intel
high 7.8

CVE-2016-4301 json

Stack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2.1 allows remote at…

published 2016-09-21 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-5301

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

Stack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.

Patch / fix

  • libarchive Debian 14, Debian 13, Debian 12 3.2.1-1

debian advisories DEBIAN-CVE-2016-4301

  • libarchive SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 3.1.2-22.1

suse advisories SUSE-SU-2016:1909-1

  • bsdtar openSUSE Tumbleweed 3.2.2-2.1

opensuse advisories openSUSE-SU-2024:10127-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-4301 updated cvss 7.7

libarchive: Stack buffer overflow in the mtree parse_device

  • Red Hat Enterprise Linux 6 libarchive Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchive
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.72% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • blog.talosintel.com http://blog.talosintel.com/2016/06/the-poisoned-archives.html referenced PoC, tagged "exploit" by a source, unverified
  • talosintel.com http://www.talosintel.com/reports/TALOS-2016-0153/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.