What’s Vulnerable › Vulnerabilities
CVE-2016-6297
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-07-25 · updated 2026-06-17
- Weakness: CWE-119
Description
Integer overflow in the php_stream_zip_opener function in ext/zip/zip_stream.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 zip:// URL.
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 (+35)
References
- http://fortiguard.com/advisory/fortinet-discovers-php-stack-based-buffer-overflow-vulnerabilities
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=81406c0c1d45f75fcc7972ed974d2597abb0b9e9
- 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/92099
- http://www.securitytracker.com/id/1036430
- https://bugs.php.net/72520
- https://security.gentoo.org/glsa/201611-22
Get alerted when CVE-2016-6297 or the next vulnerability affects your stack