Buffer overflow in PHP
CVE-2016-6297
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.052, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.6.0, 5.6.1, 5.6.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (syadg123/pigat, teamssix/pigat). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- APPLE-SA-2016-09-20 (vendor-advisory)
- GLSA-201611-22 (vendor-advisory)
- bugs.php.net/72520 (Exploit, Issue Tracking)
- RHSA-2016:2750 (vendor-advisory)
- fortiguard.com/advisory/fortinet-discovers-php-stack-based-buffer-overflow-vuln… (Third Party Advisory)
- php.net/ChangeLog-5.php (Release Notes)
- www.securitytracker.com/id/1036430 (vdb-entry)
- DSA-3631 (vendor-advisory)
- php.net/ChangeLog-7.php (Release Notes)
- git.php.net/