What’s Vulnerable › Vulnerabilities
CVE-2016-6289
- Severity: high (CVSS 7.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-07-25 · updated 2026-06-17
- Weakness: CWE-190
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.
Affected products
- PHP: through 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 (+33)
References
- 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://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
- http://openwall.com/lists/oss-security/2016/07/24/2
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.debian.org/security/2016/dsa-3631
- http://www.securityfocus.com/bid/92074
- http://www.securitytracker.com/id/1036430
- https://bugs.php.net/72513
- https://security.gentoo.org/glsa/201611-22
Get alerted when CVE-2016-6289 or the next vulnerability affects your stack