SecurityContext

CVE-2016-6289: PHP - Integer Overflow

  • Cve: CVE-2016-6289
  • Name: PHP - Integer Overflow
  • Description: Integer overflow in the virtual_file_ex function in TSRM/tsrm_virtual_cwd.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted extract operation on a ZIP archive.
  • Impact: Remote attackers can cause a denial of service or execute arbitrary code via crafted ZIP archives.
  • Remediation: Update PHP to version 5.5.38, 5.6.24, or 7.0.9 or later.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • 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.03792
  • Epss percentile: 0.90258
  • Assignee: [email protected]
  • Published at: 2016-07-25T14:59:01Z
  • Age in days: 3774
  • Modified at: 2026-06-17T00:50:45Z
  • Public exploits total: 1
  • References total: 13
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-6289
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
https://bugs.php.net/72513nvd2016-07-25

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.php.net/72513Exploit, Issue Tracking, Mitigation, Third Party Advisory
http://fortiguard.com/advisory/fortinet-discovers-php-stack-based-buffer-overflow-vulnerabilitiesThird Party Advisory
http://www.securityfocus.com/bid/92074Third Party Advisory, VDB Entry
http://php.net/ChangeLog-5.phpRelease Notes
http://php.net/ChangeLog-7.phpRelease Notes
http://openwall.com/lists/oss-security/2016/07/24/2Mailing List
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0218acb7e756a469099c4ccfb22bce6c2bd1ef87
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://www.debian.org/security/2016/dsa-3631

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 7.0.8, = 7.0.5, = 7.0.4, = 7.0.3, = 7.0.2, = 7.0.1, = 7.0.0, = 5.6.23, = 5.6.22, = 5.6.21, = 5.6.20, = 5.6.19, = 5.6.18, = 5.6.17, = 5.6.16, = 5.6.15, = 5.6.14, = 5.6.13, = 5.6.12, = 5.6.11, = 5.6.10, = 5.6.9, = 5.6.8, = 5.6.7, = 5.6.6, = 5.6.5, = 5.6.4, = 5.6.3, = 5.6.2, = 5.6.1, = 5.6.0 alpha1, = 5.6.0 alpha2, = 5.6.0 alpha3, = 5.6.0 alpha4, = 5.6.0 alpha5, = 5.6.0 beta1, = 5.6.0 beta2, = 5.6.0 beta3, = 5.6.0 beta4, <= 5.5.37nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2016-07-25
  • Exposed hosts: 6175026
  • 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