CVE-2016-4300: libarchive - Integer Overflow
- Cve: CVE-2016-4300
- Name: libarchive - Integer Overflow
- 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.
- Impact: Remote attackers can execute arbitrary code or cause a denial of service by triggering a heap buffer overflow.
- Remediation: Update to version 3.2.1 or later.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.04919
- Epss percentile: 0.92331
- Assignee: [email protected]
- Published at: 2016-09-21T14:25:01Z
- Age in days: 3716
- Modified at: 2026-06-17T00:47:18Z
- Patch available: yes
- Public exploits total: 2
- References total: 12
- Products total: 8
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-4300
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://blog.talosintel.com/2016/06/the-poisoned-archives.html | nvd | 2016-09-21 |
| http://www.talosintel.com/reports/TALOS-2016-0152/ | nvd | 2016-09-21 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573 | Issue Tracking, Patch, Third Party Advisory |
| https://github.com/libarchive/libarchive/issues/718 | Issue Tracking, Patch, Third Party Advisory |
| http://blog.talosintel.com/2016/06/the-poisoned-archives.html | Exploit, Third Party Advisory |
| http://www.talosintel.com/reports/TALOS-2016-0152/ | Exploit, Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2016-1844.html | Third Party Advisory |
| http://www.securityfocus.com/bid/91326 | Third Party Advisory, VDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=1348439 | Issue Tracking |
| http://www.debian.org/security/2016/dsa-3657 | |
| http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html | |
| http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| libarchive/libarchive | commit, fix, issues | yes | /v1/repositories/libarchive/libarchive |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2016-09-21
- Exposed hosts: 3806
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports