CVE-2016-6289
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 2.32%• Percentile: 85%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- Unknown•PHP
≤ 5.5.37 | 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.6.1 | 5.6.2 | 5.6.3 | 5.6.4 | 5.6.5 | 5.6.6 | 5.6.7 | 5.6.8 | 5.6.9 | 5.6.10 | 5.6.11 | 5.6.12 | 5.6.13 | 5.6.14 | 5.6.15 | 5.6.16 | 5.6.17 | 5.6.18 | 5.6.19 | 5.6.20 | 5.6.21 | 5.6.22 | 5.6.23 | 7.0.0 | 7.0.1 | 7.0.2 | 7.0.3 | 7.0.4 | 7.0.5 | 7.0.8
References (13)
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
- https://security.gentoo.org/glsa/201611-22
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://fortiguard.com/advisory/fortinet-discovers-php-stack-based-buffer-overflow-vulnerabilities
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=0218acb7e756a469099c4ccfb22bce6c2bd1ef87
- http://php.net/ChangeLog-5.php
- http://www.securitytracker.com/id/1036430
- http://www.securityfocus.com/bid/92074
- http://www.debian.org/security/2016/dsa-3631
- http://php.net/ChangeLog-7.php
- http://openwall.com/lists/oss-security/2016/07/24/2
- https://support.apple.com/HT207170
- https://bugs.php.net/72513