SecurityContext

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

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
http://blog.talosintel.com/2016/06/the-poisoned-archives.htmlnvd2016-09-21
http://www.talosintel.com/reports/TALOS-2016-0152/nvd2016-09-21

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573Issue Tracking, Patch, Third Party Advisory
https://github.com/libarchive/libarchive/issues/718Issue Tracking, Patch, Third Party Advisory
http://blog.talosintel.com/2016/06/the-poisoned-archives.htmlExploit, Third Party Advisory
http://www.talosintel.com/reports/TALOS-2016-0152/Exploit, Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1844.htmlThird Party Advisory
http://www.securityfocus.com/bid/91326Third Party Advisory, VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1348439Issue 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
ProductAffectedUrl
libarchive:libarchive<= 3.2.0/v1/products/libarchive/libarchive
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:enterprise_linux_server_aus= 7.2/v1/products/redhat/enterprise_linux_server_aus
redhat:enterprise_linux_server_eus= 7.2/v1/products/redhat/enterprise_linux_server_eus
redhat:enterprise_linux_hpc_node= 7.0/v1/products/redhat/enterprise_linux_hpc_node
redhat:enterprise_linux_hpc_node_eus= 7.2/v1/products/redhat/enterprise_linux_hpc_node_eus

Projects

RepositoryLink kindsIndexedUrl
libarchive/libarchivecommit, fix, issuesyes/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