CVE-2016-4300: libarchive Integer Overflow or Wraparound
Vulnerability summary
CVE-2016-4300 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in libarchive. EPSS estimates a 4.92% chance of exploitation in the next 30 days, higher than 92% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 7 · Related 3Timeline
- 21-09-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.92%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 4.92% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (blog.talosintel.com)
Maturity: unknown
Exploit Reference (talosintel.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Redhat7 products
- enterprise_linux_desktop7.0
- enterprise_linux_hpc_node7.0
- enterprise_linux_hpc_node_eus7.2
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.2
Alpine1 product
- libarchive< 3.2.1-r0
Debian1 product
- libarchive< 3.2.1-1
Libarchive1 product
- libarchive≤ 3.2.0
Ubuntu1 product
- libarchive< 3.1.2-7ubuntu2.3 | < 3.1.2-11ubuntu0.16.04.2
5 vendors · 11 products
References
17 links- www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.htmlX Refsource CONFIRM
- blog.talosintel.com/2016/06/the-poisoned-archives.htmlX Refsource MISCExploitThird Party AdvisoryREPORT
- github.com/libarchive/libarchive/issues/718X Refsource CONFIRMIssue TrackingPatchThird Party Advisory
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.htmlX Refsource CONFIRM
- github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573X Refsource CONFIRMIssue TrackingPatchThird Party Advisory